Mini Project 2: Hangman Game
Hangman is one of the most famous word guessing games. The purpose of the game is to improve the player’s vocabulary.
In this game:
You are shown a number of blank lines representing a secret word, and you have to reveal the secret word by guessing letters correctly.
You can guess one letter at a time, and the game terminates after a certain number of incorrect guesses.
If you guess the letter that is present in the secret word, that letter is revealed in place of the blank.
If you guess the wrong letter, you lose one try, and some part of a person is drawn on the gallows.
After a certain number of incorrect guesses, a person will be hanged on the gallows, and the game is over.
If you guess all the letters in the secret word before the man is hanged completely, you win!!