Steps to reproduce: 1, Run main game 2, Enter the name and submit 3, Start a 2*2 game 4, Quickly finish it before time runs out. Actual result: A message "Congrat" shows but the timer continues counting and generated another screen that shows "You failed" Expected result: Only the first message "Congrat" is shown.
Solved by adding a statement that terminates the timer after the game ended.