A fun and educational Hangman game for kids with animal-related words. Players guess letters to reveal a hidden word before the hangman figure is fully drawn.
-
Animal Words: Guess words related to animals.
-
Interactive Gameplay: Feedback on each guess, showing correct and incorrect letters.
-
Visual Hangman: See the hangman figure appear with each wrong guess.
-
Easy to Play: Simple text-based interface.
- The game selects a random word related to animals. To see my animal-related-words list, click.
- Players guess one letter at a time.
- Correct guesses reveal the letter's position in the word.
- Incorrect guesses add a part to the hangman figure and list the wrong letters guessed so far.
- The game ends when the word is fully guessed or the hangman figure is complete.
hangman_art.py
: Contains the visual stages of the hangman figure.hangman_words.py
: Contains the list of animal words used in the game.main.py
: The main script to run the game.
- Clone this repository to your local machine.
git clone https://github.com/EzgiTastan/hangman.git
cd hangman
python main.py