Skip to content

kumudasrip/hangman-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Hangman Game (Python CLI Version)

A fun and interactive command-line Hangman game built with Python. Includes difficulty levels, hints, visual ASCII art, and score tracking across rounds.


๐Ÿš€ Features

  • โœ… Three Difficulty Levels: Easy, Medium, and Hard
  • ๐Ÿง  Hints: Each word comes with a helpful clue
  • ๐ŸŽจ ASCII Hangman Drawing: Visual progress as you guess
  • ๐Ÿ“Š Score Tracking: Win (+10), Lose (-5), tracked across multiple rounds
  • ๐Ÿ† Leaderboard: Top 5 high scores saved in leaderboard.txt
  • ๐Ÿ” Play Again Option: Keep playing until you want to quit

๐Ÿ› ๏ธ Requirements

  • Python 3.6 or higher
  • No external libraries required

How to Run it:

  1. Clone this repository or copy the Python file:
git clone https://github.com/kumudasrip/hangman-game.git
cd hangman-game
  1. Run the game:
python hangman.py

๐Ÿ“Œ How to Play

  1. Enter your name and start.
  2. Choose a difficulty: Easy, Medium, or Hard.
  3. A word will be chosen randomly, and a hint will be displayed.
  4. Guess one letter at a time.
  5. You lose an attempt for each wrong guess.
  6. The game ends when you either:
    • Guess the word correctly โœ…
    • Use up all your attempts ๐Ÿ’€
  7. Your score updates after each round.
  8. At the end, your final score is saved in leaderboard.txt and top 5 scores are displayed.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages