🎯 Game Objective
The goal of Guess the Number is to guess a randomly generated number within a specific range using as few attempts as possible.
The game will provide hints after each guess, telling you if your guess is too high or too low, helping you narrow down the correct number.
🎮 How To Play
- Select a difficulty level - Choose from Easy, Medium, or Hard based on your preference.
- Enter your guess - Type a number within the specified range in the input field.
- Submit your guess - Click the "Guess" button or press Enter to submit your guess.
- Read the feedback - The game will tell you if your guess is too high, too low, or correct.
- Adjust your strategy - Use the feedback to make a more informed guess next time.
- Continue guessing - Keep guessing until you find the correct number or run out of attempts.
⚙️ Difficulty Levels
🍀
Easy
- • Range: 1 to 50
- • Attempts: 10
⭐
Medium
- • Range: 1 to 100
- • Attempts: 7
🔥
Hard
- • Range: 1 to 200
- • Attempts: 5
💡 Tips & Strategies
- 🔍Binary search strategy - Start with a guess in the middle of the range, then eliminate half the possibilities with each guess.
- 📝Keep track of boundaries - Remember the highest "too low" and lowest "too high" guesses to narrow your range.
- 🧠Use elimination - Cross off numbers that can't be the answer based on previous feedback.
- ⏱️Be methodical - Don't rush or guess randomly. Each guess should be strategic.
⌨️ Controls
- EnterSubmit your guess
- Number keysInput your guess (only numbers are accepted)
- Guess buttonSubmit your current guess
- Back to MenuReturn to difficulty selection