A simple text-based Hangman game built with Python as part of the CodeAlpha Python Programming Internship.
python hangman.pyNo external libraries needed. Works with Python 3.x out of the box.
- A random word is chosen from a built-in list
- You guess one letter at a time
- You have 6 incorrect guesses before the game ends
- The ASCII hangman drawing updates after each wrong guess
- At the end, you can choose to play again
- ASCII art gallows that builds up with each wrong guess
- Tracks letters you've already tried
- Play again option at the end
- Clean console output
randommodulewhileloopsif-elseconditions- Strings and lists
- Functions
CodeAlpha_HangmanGame/
│
└── hangman.py
- Organization: CodeAlpha
- Domain: Python Programming
- Student ID: CA/DF1/75758