Even though player2 guesses the word correctly, it is not terminating. Code terminates only when the remaining guesses is zero.
Log in to post a comment.