Number Guessing Game

I'm thinking of a number between 1 and 100. Can you find it in the fewest guesses?

Attempts: 0 Best:
Ad slot (AdSense unit placeholder)

How it works

A random number between 1 and 100 is picked when the page loads. Type a guess and you'll be told if the answer is higher or lower — use binary search logic (start at 50, then halve the range each time) to solve it in 7 guesses or fewer.

Frequently asked questions

What's the fewest guesses possible?

With optimal binary search play (always guessing the midpoint of the remaining range), you can always find any number 1-100 in 7 guesses or fewer.

Does my best score save?

Yes, your lowest attempt count is saved in your browser and shown at the top as your best.

More games