Python Hangman Game 🍎
A classic and interactive command-line Hangman game built in Python. The program picks a random fruit from a diverse list, displays a placeholder for the secret word, and challenges the player to guess it letter by letter while managing their remaining lives.
---
Features
- Dynamic Word Bank: Randomly selects a fruit name from an extensive list of fruits using Python's random module.
- Live Visual Feedback: Displays correct guesses in place of blanks and updates a visual heart-based life counter (❤️ and 🖤) after every turn.
- Progress Tracking: Keeps track of correctly guessed letters to gradually reveal the hidden word[cite: 4].
- Win/Lose Conditions: Ends the game with a success or failure message depending on whether the player guesses the word before running out of lives[cite: 4].
---
How to Run
- Ensure Python 3.x is installed on your system.
- Download or copy the script file (project7.py).
- Open your terminal or command prompt and run the script:
python project7.py