Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Guess the Letters Game

This project is a simple "Guess the Letters" game implemented in Python. The game randomly selects a word and the player has to guess each letter of the word within a limited number of attempts.

How to Run

git clone https://github.com/your-username/hangman.git

Choose directory

cd hangman

Run the Game:

python hangman.py

Game Instructions:

After starting the game, you will see a series of underscores representing the hidden word. Each underscore corresponds to a letter in the word.

  • You will be prompted to guess a letter.

  • Enter a letter and press Enter.

  • If the letter is in the word, it will be revealed in its correct position.

  • If the letter is not in the word, you will lose one guess. The number of remaining guesses will be displayed.

  • Continue guessing letters until you either: Guess all the letters in the word correctly (win), or Run out of guesses (lose).

    Answer (Spoiler)

    The answer to the game is "David"

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages