_ _ _____
| | | | / ____|
| |__| | __ _ _ __ __ _ _ __ ___ __ _ _ __ | | __ __ _ _ __ ___ ___
| __ |/ _` | '_ \ / _` | '_ ` _ \ / _` | '_ \ | | |_ |/ _` | '_ ` _ \ / _ \
| | | | (_| | | | | (_| | | | | | | (_| | | | | | |__| | (_| | | | | | | __/
|_| |_|\__,_|_| |_|\__, |_| |_| |_|\__,_|_| |_| \_____|\__,_|_| |_| |_|\___|
__/ |
|___/
Welcome to the Hangman CLI Game built with Python3! It is a Simple Command Line Game Guess the secret word one letter at a time before the man is hanged! A fun terminal-based game to kill boredom and sharpen your brain.in.
- Created By HK (Harsh Khandal) Hacker
- Dated on 15/06/2025
- Language Python3
- Link: https://github.com/Hk-Hacker-Harsh/Hangman
- Clone Github Repo
- Install Python3
- Check if all Libraries installed or not. If not use requirements.txt file.
Run :
pip install -r requirements.txt - Run the .py file.
Python3 Libraries::
- pip install random
- pip install os
-
Install Required Libraries and Program. Then run the .py file
-
Read the Rules and Press Enter to Continue. The Empty Spaces under Structure shows number of Letters Left in Word. Tries Left shows number of wrong Guesses Left. .
-
Guess the Word by press single letter at a time and press Enter.
-
If No tries left and word is still missing letters. Then you Loss. Means Game Over.
Wanna improve it or fix a bug?
- Fork the repo
- Create a new branch (
git checkout -b feature-name) - Commit your changes
- Open a pull request ✅
I'm always open to fresh ideas!