The game ends(window is closed) after the game is played. So each time the player has to play the game once and then re-run the game again.
How about modifying it to go back to the main menu after playing the game?
Players will be much more comfortable to play the game.