Number Guessing Game
Test your intuition and logical thinking skills with this classic number guessing game
Best Scores by Difficulty
How to Use
Choose Easy, Medium or Hard under 'Difficulty Level'.
Type a number and press 'Make Guess' or Enter.
Read the hint, 'Try a higher number!' or 'Try a lower number!'. The 'Still possible' box at the top narrows to the range the answer can still be in.
Find it before you run out of attempts to win. 'New Game' starts over.
Pro Tips
- Always guess the middle of what's left. On 1–100 that's 50, then 75 or 25, then halve again. This finds any number in 7 guesses or fewer.
- Numbers outside the range and repeated guesses get a warning and don't use up an attempt.
- Playing with a friend instead? The person hiding the number can pick it with the Random Number Generator to keep it fair.
Use Cases
Showing how binary search works
A hands-on version of the algorithm.
Number sense for kids
Easy mode practices bigger and smaller.
A two-minute brain game
Chase streaks and low guess counts.
Frequently Asked Questions
Is there a way to always win?
Yes. Guess the midpoint of the remaining range every time. That needs at most 6 guesses on Easy, 7 on Medium and 8 on Hard, and each level gives you at least that many.
How do I unlock achievements?
'First Victory' comes with your first win, 'Game Veteran' at 10 wins, 'Streak Master' for 5 wins in a row, and 'Mastermind' for solving Hard in 5 guesses or fewer.
Are my stats saved?
Yes. Statistics and achievements are saved in this browser and stay after a refresh.
Why Use This Tool?
A round takes under a minute, and once you know the midpoint trick anyone can win, which makes it an easy way to learn binary search.
Related Tools
Draw random numbers from any range, one or many at a time
Roll virtual dice with any number of sides, plus a modifier
Flip 1 to 100 virtual coins at once and count heads and tails
Play Rock Paper Scissors against the computer: single rounds, best of 3 or best of 5