Skip to content

Fun CLI Hangman Game

License

Notifications You must be signed in to change notification settings

Hk-Hacker-Harsh/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4cdb2e8 · · Jul 13, 2025

History

10 Commits
Jul 13, 2025
Jun 27, 2025
Jun 20, 2025
Jun 27, 2025
Jul 1, 2025
Jun 27, 2025
Jun 27, 2025

Repository files navigation

  _    _                                            _____                      
 | |  | |                                          / ____|                     
 | |__| | __ _ _ __   __ _ _ __ ___   __ _ _ __   | |  __  __ _ _ __ ___   ___ 
 |  __  |/ _` | '_ \ / _` | '_ ` _ \ / _` | '_ \  | | |_ |/ _` | '_ ` _ \ / _ \
 | |  | | (_| | | | | (_| | | | | | | (_| | | | | | |__| | (_| | | | | | |  __/
 |_|  |_|\__,_|_| |_|\__, |_| |_| |_|\__,_|_| |_|  \_____|\__,_|_| |_| |_|\___|
                      __/ |                                                    
                     |___/                                                     
      

Hangman Game:

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.

About

Installation

  • 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.

Requirements

Python3 Libraries::

  • pip install random
  • pip install os

Contact:

Images:

Rules Start

How to Use:

  1. Install Required Libraries and Program. Then run the .py file Rules

  2. 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. . Start

  3. Guess the Word by press single letter at a time and press Enter. Guess

  4. If No tries left and word is still missing letters. Then you Loss. Means Game Over. Out

  5. If Tries Left and word is Clearly Visible. Then you won. Won

🤝 Contributing

Wanna improve it or fix a bug?

  1. Fork the repo
  2. Create a new branch (git checkout -b feature-name)
  3. Commit your changes
  4. Open a pull request ✅

I'm always open to fresh ideas!

License : Free and Open source (FOSS) for all and everyone. MIT icense.

About

Fun CLI Hangman Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages