Number Guessing Game

Number Guessing

Narrow the range and find the hidden number

Choose difficulty

How to play

Guess the hidden number using higher/lower hints. Calling the range midpoint each time is fastest.

Origin & history

Number guessing embodies binary search — a classic deduction game also used to teach search algorithms.

FAQ

What is the fastest strategy?

Binary search: always guess the midpoint of the remaining range. For 1–100 that solves it in at most 7 guesses.

Is the target really random?

Yes. It is chosen at random in your browser when the game starts, never sent to or stored on a server. There is no account.