Welcome to the Hangman Game! This is a classic word-guessing game built using Python, where players have to guess the hidden word by choosing letters.
๐ Random Word Selection from a predefined list of words.
๐ก 10 chances to guess the word correctly.
๐ Interactive command-line game with real-time feedback on your guesses.
๐ How to Play
๐งฉ The computer selects a random word from the list.
โ You guess one letter at a time.
โ
If the letter is in the word, it will be revealed in its correct position.
๐ซ You have 10 chances to guess the word. Each wrong guess reduces your remaining tries.
๐ Win by guessing the word before your tries run out!
๐ How to Run the Game
๐ Python 3.x
Clone the repository:
bash
Copy code
git clone https://github.com/your-username/hangman-game.git
Navigate to the project directory:
bash
Copy code
cd hangman-game
Run the script:
bash
Copy code
python hangman.py
Here's what the game looks like:
Word: _ _ a _ _
Tries left: 9
Guess a letter:
Keep guessing letters until you figure out the word or run out of tries!