added the gameover screen logic