Skip to content

Xqni/Number-Guessing-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Number Guessing Game

A simple command line game in Python programming language. Beginner level project.

Hello ๐Ÿ‘‹

Thank you for checking my project, if you find any mistakes please let me know and I will try to imporve it.

Sample gameplay ๐ŸŽฎ

Welcome to the Number Guessing Game!
I'm thinking of a number between 1 and 100.
You have a number of chances to guess the correct number.

Please select the difficulty level:
1. Easy (10 chances)
2. Medium (5 chances)
3. Hard (3 chances)

Enter your choice: 2

Great! You have selected the Medium difficulty level.
Let's start the game!

Enter your guess: 50
Incorrect! The number is less than 50.

Enter your guess: 25
Incorrect! The number is greater than 25.

Enter your guess: 35
Incorrect! The number is less than 35.

Enter your guess: 30
Congratulations! You guessed the correct number in 4 attempts.

Would you like to play again? (Y/n): n
Thank you for playing my game! :)

Websites Used ๐Ÿ›œ

About

A simple CLI number guessing game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages