A simple yet engaging number guessing game built with Python and Streamlit. Test your intuition by guessing the number the computer has chosen across three difficulty levels!
-
Three Difficulty Levels:
-
Easy (1-50 numbers)
-
Medium (1-100 numbers)
-
Hard (1-200 numbers)
-
-
Score Tracking: Keeps count of your correct guesses
-
Attempt Counter: Tracks total number of guesses
-
Instant Feedback: Tells you whether your guess was higher or lower than the target
-
Responsive UI: Clean interface built with Streamlit
-
Select your preferred difficulty level
-
Enter your guess in the number input field
-
Click "Submit" to see if you guessed correctly
-
The game will tell you if your guess was higher or lower than the target number
-
When you guess correctly, your score increases!
-
The game tracks your total attempts across sessions
-
Python 3.13
-
Streamlit
-
Random (built-in Python module)
-
The computer randomly selects a number within the chosen difficulty range
-
You win when your guess matches the computer's number
-
Your score increases by 1 with each correct guess
-
The game tracks your total attempts regardless of correct/incorrect guesses