Added gameover logic