gameOver method working