Thanks for playing and commenting!
Yep it was very complex, especially the continue playing mechanic.