Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/medss19/hangman

Guess words in diverse categories under 5 guesses. Save the hangman with smart letter or word guesses. Fun and interactive!
https://github.com/medss19/hangman

Last synced: 22 days ago
JSON representation

Guess words in diverse categories under 5 guesses. Save the hangman with smart letter or word guesses. Fun and interactive!

Awesome Lists containing this project

README

        

# Hangman Game

Welcome to the Hangman game! This simple text-based Hangman game allows you to guess words and save the hangman from getting hanged. The game provides different categories of words, and you can choose to guess a letter or the entire word.

## How to Play

1. Run the program.
2. Enter your name when prompted.
3. Choose to play the game by typing 'y' or exit by typing 'n'.
4. If you choose to play:
- You will be given a random word to guess.
- You can guess a letter or the entire word.
- You have a limited number of turns to guess the correct word.
- The game will display the hangman drawings as you make incorrect guesses.
- Successfully guess the word to save the hangman.
- Decide whether you want to strike a new word after each round.

## Hangman Drawings

The hangman drawings are displayed based on the number of incorrect guesses. Here are the stages:

1. Empty gallows
2. Head
3. Head and body
4. Head, body, and one leg
5. Head, body, and both legs (game over)

## Word Categories

The game provides words from various categories, including:
- Fruit
- Adjective
- Fast Food
- Country

## Enjoy the Game!

Have fun playing the Hangman game! Test your word-guessing skills and see if you can save the hangman from his fate. If you ever want to stop playing, simply type 'n' when prompted. Thank you for playing! 😊