finish game when maximum number of guesses reached