Added logic for game over.