A clean and interactive Python implementation of the classic Hangman word-guessing game.
This project is a terminal-based game where players try to guess a hidden word letter by letter. It demonstrates core programming concepts like loops, conditional logic, and user input handling.
- Turn-Based Logic: The game waits for your input and responds to every guess.
- Instant Feedback: Shows you immediately if your guess was right or wrong.
- Win/Loss Tracking: Automatically detects when you win or run out of attempts.
- Clean Code: Easy to read and modify for learning purposes.
- Download the
hangman.pyfile. - Open your Terminal or Command Prompt.
- Navigate to the folder and run:
python hangman.py