Each incorrect guess will increment the score when the user


You will be creating a Hangman program. In this game, the computer will have a hard coded word and the user will enter one letter at a time until he or she has guesses the correct word. A score will be tallied that will be the number of incorrect guesses the user has. So a smaller score is better.

Initially the word will be displayed as a list of special characters such as '*' or '-'. The user will input one letter at a time and each input will be compared with the word. If the guess is correct the letter will be displayed rather than the special character. Each incorrect guess will increment the score. When the user guesses the correct word the game will be over.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Each incorrect guess will increment the score when the user
Reference No:- TGS02641835

Now Priced at $10 (50% Discount)

Recommended (93%)

Rated (4.5/5)