Guess the Number

I'm thinking of a number. Can you guess it?

Ad · 728×90
1 100
Enter your first guess below
Guesses: 0 Best: Games: 0
Guess history
Ad · Responsive

About the Game

The computer picks a secret number within the chosen range. Each time you guess, you're told whether the secret number is higher or lower. The range bar narrows with every guess, visually showing you how close you're getting. The optimal strategy is binary search — always guess the midpoint of the remaining range. For 1–100, this guarantees finding the answer in at most 7 guesses.


How to Play

The computer picks a secret number within the chosen range. Enter your guess and press Guess — you'll get a hint telling you whether the secret number is higher or lower than your guess. Use this information to zero in on the answer in as few guesses as possible.

The optimal strategy is binary search: always guess the midpoint of the remaining range. For a 1–100 range, start with 50. If told higher, guess 75 next, and so on. This approach finds any answer in at most 7 guesses. Try Easy, Medium or Hard for different number ranges.


Related Tools

Ad · Responsive