How the number guessing game works
The game picks a whole number from 1 to 100. Type a guess and press Guess or Enter, and it tells you whether to go higher or lower. A guess outside 1 to 100 is refused without being counted. When you find the number, the game shows how many guesses you took, and your best (fewest) is kept in this browser.
Controls
Keyboard and Enter, or the number pad on a phone and the Guess button. New Number starts again.
Three tips
- Always guess the middle of the numbers still possible: 50 first, then 25 or 75, and so on.
- Halving finds any number within 7 guesses, because seven halvings cover 128 possibilities; our own play-through took exactly 7.
- Note the range as you go, such as “between 63 and 75”, so you never waste a guess outside it.
What it practises
Binary search, the same halving idea computers use to search sorted lists quickly.
Frequently Asked Questions
How can I keep the number of guesses small?
Guess near the middle of the remaining range. If 50 is too low, the next range is 51 to 100, so try about 75. Repeating that halving approach finds a whole number from 1 to 100 within seven guesses.
Does an out-of-range guess use a turn?
Values outside 1 to 100 are refused without increasing the guess count. Use the higher/lower hint to narrow the remaining range before entering another whole number.
Where is my best result kept?
The fewest-guesses record stays in this browser's local storage. It does not follow you to another device and can disappear if you clear site data. New Number resets the current round.