Hangman in Python, six chapters
Build Hangman in the terminal: a masked word, a word list, the display, the game loop, win and lose, then the finished project.
Getting started
Home Assistant
Buying
Build Hangman in the terminal: a masked word, a word list, the display, the game loop, win and lose, then the finished project.

Six short lessons, each with exercises. The game stays in the terminal.
Start with the development environment if Python is not installed yet. Other projects: Battleship, todo notebook, Connect Four.
Was this page helpful?
Thank you!
What should we improve?
Torn between two models or stuck on a build? Drop us a line and we will get back to you by email.
Cookies and analytics
We use Google Analytics 4 to understand how the site is used (page views, navigation). It is only switched on if you accept. Declining does not stop you using the site. More: cookie settings and privacy policy (in French).