Welcome to the Guessing Game repository! This is a simple game where a random number between 1 and 20 is generated, and you are challenged to guess it correctly.
☑️The game will automatically generate a random number between 1 and 20.
☑️You will be prompted to enter your guess.
☑️Type in a number between 1 and 20 and press Enter.
☑️The game will let you know if your guess was too high, too low, or correct.
☑️Continue guessing until you guess the correct number.
☑️Once you guess the correct number, the game will display a success message along with the number of attempts you took.
🚀 Enjoy playing the game multiple times!
Here's an example of the game's interaction:
Welcome to the Guessing Game!
Guess a number between 1 and 20: 10
Too low! Guess a bigger number.
Guess a number between 1 and 20: 18
Too high! Guess a smaller number.
Guess a number between 1 and 20: 15
Too high! Guess a smaller number.
Guess a number between 1 and 20: 12
Congratulations! You guessed the correct number and the highest score is the (20 - number of attempts).
If you want to contribute to this project, feel free to submit a pull request. Any improvements or new features are highly appreciated!
This project is licensed under the MIT License. Feel free to use, modify, and distribute it as per the license terms.