-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
46 lines (28 loc) · 1.87 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Animal Guessing Game
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.
## Getting Started
To play the game, you'll need to have Python installed on your computer.
1. Clone or download this repository to your local machine.
2. Open a terminal or command prompt and navigate to the project folder.
3. Run the script by entering the following command:
--------------------------------------------------------------------------------------------
## How to Play
1. The game will display a random animal's starting letter followed by asterisks to hide the rest of the letters.
2. You have three attempts to guess the correct animal by entering its name. The input is case insensitive.
3. After each incorrect guess, the game will reveal one additional letter of the animal's name.
4. If you guess the animal correctly, you win! Otherwise, the correct animal will be revealed.
## Categories
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.
## Example
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](https://https://github.com/Gmzlov)