Implemented "Game Over" logic.