have the game end when it ends