🚩🧡🕉️ || जय श्री राम || 🕉️🧡🚩
A classic Hangman word-guessing game implemented with Pygame, featuring a dictionary of programming-related terms.
- Classic Hangman gameplay: Guess letters to find the hidden word.
- Programming-themed word list (e.g.,
PYTHON,PYGAME,IDE). - Visual feedback with the hangman drawing progression for incorrect guesses.
- Interactive letter buttons.
- Win/Loss detection and display messages.
- Python 3.x
- Pygame library:
pip install pygame
- Clone the repository (or download the files, ensuring the
images/imagesfolder structure is maintained). - Navigate to the
Hangmandirectory:cd path/to/Hangman - Run the game:
python main.py
- Start Game: Click anywhere on the initial screen.
- Guess Letter: Click on the letter buttons displayed on the screen.
Hangman/
├── main.py # Main game script
├── images/
│ └── images/ # Hangman state images (hangman0.png - hangman6.png)
│ ├── hangman0.png
│ ├── ...
│ └── hangman6.png
├── Screenshot (34).png # Example gameplay screenshot
├── Screenshot (35).png # Example win/loss screenshot
└── README.md # This file
(Note: The nested images/images structure seems to be required by the code)