Skip to content

A classic "Hangman" game implementation in Python with a terminal interface featuring ASCII art and formatted messages. Guess letters to uncover a randomly chosen word from a list. Enjoy a fun and interactive game experience!

License

Notifications You must be signed in to change notification settings

rohityadav-sas/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Game in Python

In this game, a random word is chosen from a predefined list, and the player has to guess letters in the word. Each correct guess reveals the positions of the guessed letter in the word. The player has a limited number of incorrect guesses before they lose the game.

Table of Contents

Preview

preview.png

How to Play

  1. Clone or download the repository to your local machine.
  2. Make sure you have Python installed.
  3. Run the hangman.py script.
  4. Guess letters to uncover the hidden word.
  5. You have a limited number of incorrect guesses before you lose.
  6. Have fun!

Features

  • Random selection of words from a predefined list.
  • Progress tracking of guessed letters.
  • Simple command-line interface.

Usage

  1. Clone the repository:

    git clone https://github.com/rohityadav-sas/Hangman
  2. Navigate to the directory:

    cd Hangman
  3. Run the script:

    python Hangman.py

License

This project is licensed under the ISC License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

A classic "Hangman" game implementation in Python with a terminal interface featuring ASCII art and formatted messages. Guess letters to uncover a randomly chosen word from a list. Enjoy a fun and interactive game experience!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages