Hangman is a classic game where the player attempts to guess a word randomly generated by the computer.
For each wrong letter guessed, the player loses an attempt and part of the body of the “man” gets added to the game. If a player uses all of their guesses, they lose. If the player guesses the word, before using all of their guesses, th