A classic hangman game developed in Python that gets random word from WordsAPI.

in Programming as Python Developer for myself

The classic hangman game has been one of my favorite games since childhood. When I was interested in Python, I wanted to do small projects, and this little game was a good option for this. First, I wrote a smaller program that scanned the 5000 most common words, produced a list, and programmed the game with it. But after a while, I wanted to do something more challenging, and the 5000 most common words were too weak for this task. Thus, I programmed the second version and got the words pulled from the API of an online dictionary. So I made it a more unpredictable game with a broader vocabulary. 


Check it out :

Source code on Github

Play the game online on Repl.it


Related Projects