Inspiration
We wanted to recreate the classic Hangman game with a modern twist. Hangman is not just fun but also helps improve vocabulary, spelling, and logical reasoning. It felt like a perfect beginner-friendly yet engaging project to build.
What it does
The Hangman game selects a random word from a predefined list, and the player has to guess the word one letter at a time. The game tracks wrong guesses, displays the word progress, and even shows a hangman figure step by step until the player either wins by guessing the word or loses by running out of attempts.
How we built it
We built the game using Python, leveraging simple loops, conditionals, and string manipulations. A word list is stored separately, and the game logic picks a random word for each session. User input is validated, wrong guesses reduce lives, and correct guesses reveal letters in the word. ASCII art hangman drawings were added for a more interactive experience.
Challenges we ran into
-Handling repeated guesses without penalizing the player again.
-Designing the ASCII hangman stages neatly.
-Making the game user-friendly while keeping the code simple and modular.
-Accomplishments that we're proud of
-Successfully implemented the full hangman figure that changes after every wrong guess.
-Improved user experience with clear instructions and word progress updates.
-Kept the project beginner-friendly while still making it fun to play.
What we learned
-The importance of input validation to avoid unexpected crashes.
-How to manage game states and track progress efficiently.
-Structuring Python projects with separate files for words and main logic.
Log in or sign up for Devpost to join the conversation.