This game is a glass hitting game. First the bot creates a sequence. After that, we have to hit the glasses in the same order. In first game, the game works completely fine. But after clicking continue btn and selecting the mode, the bot also creates a sequence perfectly. But here there is no game end. It goes infinitely.
Github pages link : https://ka-hirithik.github.io/GlassSmashMemory/
Github link : https://github.com/KA-Hirithik/GlassSmashMemory
I tried chatGPT with different prompts. But still not working.
I think there is some problem in updating and verifying the sequences in gameEndLogic functions.