stopping when game is over is implemented