A little sample program with an oldie but goldie game of Hangman.
Can be played in a console. 6 tries per round. The game allows to play with a partner (the word entry is hidden since the program uses the password function) or you can play the game against the computer.
The computer uses a copy of the en_US Hunspell Dictionary Version 2020.12.07 Mon Dec 7 20:14:35 2020 -0500 [5ef55f9] http://wordlist.sourceforge.net
So be prepared for a tough match!
Have fun with this!
Cheers Patrick