the other case where you want to restart the game is if the player has tried 10 times.