This is a simple Python program that allows you to play a guessing game where you have to guess an animal's name based on the starting letter and gradually revealed characters. The game randomly selects an animal from three categories: water, wild, and sky. You have three attempts to guess the correct animal.
To play the game, you'll need to have Python installed on your computer.
- Clone or download this repository to your local machine.
- Open a terminal or command prompt and navigate to the project folder.
- Run the script by entering the following command:
- The game will display a random animal's starting letter followed by asterisks to hide the rest of the letters.
- You have three attempts to guess the correct animal by entering its name. The input is case insensitive.
- After each incorrect guess, the game will reveal one additional letter of the animal's name.
- If you guess the animal correctly, you win! Otherwise, the correct animal will be revealed.
The game selects animals from three categories:
- Water: Animals associated with aquatic environments.
- Wild: Animals found in the wilderness and natural habitats.
- Sky: Animals that fly or are commonly found in the sky.
Here's an example of how the game might look:
The animals start with the letter C***** Enter your guess: Cheetah Incorrect guess. The animals start with the letter Ch**** Enter your guess: Chimpanzee Congratulations! You guessed correctly.
Feel free to modify and improve this code as you see fit. Enjoy the game!
Created by: Gmzlov