This is a short assignment, hence it is due sooner than past assignments.
Develop the hangman game. The hangman game has a secret word that
the player tries to guess. The player guesses letters by pressing
keys on the keyboard. If the guessed letter is correct, it is
revealed on the screen. For example, suppose the secret word is
"guess" and the player presses the "s" key. The game should reveal
something like:
The player loses if seven incorrect guesses are made. The player
wins if the secret can be revealed with less than seven incorrect
guesses. The player should not be penalized for repeatedly guessing
the same incorrect letter.
The game should also reveal a "hangman" that shows the players
progress toward losing. Each wrong guess adds another body part to
the hangman. For example, if the user had guessed "t", "u", "s",
"q", "r", the game should look something like:
The hangman is complete when enough wrong guesses have been made: