A simple console-based Hangman game developed in Python. The player guesses a hidden word one letter at a time, with a maximum of 6 incorrect guesses allowed.
- Random word selection from a predefined word list
- Console-based user input and output
- Tracks guessed letters
- Limits incorrect guesses to 6
- Handles repeated and invalid input
- Displays win or game-over message
- Python
randommodulewhileloopif-elseconditions- Strings
- Lists
- Functions
- Console input/output
Make sure Python is installed on your system.
Clone the repository:
git clone https://github.com/khubabraza/Python-Hangman-Game.gitOpen the project folder:
cd Python-Hangman-GameRun the game:
python hangman.py