when to stop the game