❓ Number Guessing Game

Guesses: 0
Best: -
I am thinking of a number from 1 to 100

About Number Guessing Game

Number Guessing Game is a free game: find the secret number in as few guesses as possible using higher and lower hints.

The computer picks a secret whole number and you try to guess it. After every guess you are told whether the secret number is higher or lower, so you can narrow it down.

Choose a range: 1 to 10, 1 to 100 or 1 to 1000. With the best strategy, half the range at every guess, you can always find a number from 1 to 100 in at most 7 guesses. Your fewest guesses for each range are saved in your browser.

4
MAX GUESSES FOR 1–10
7
MAX GUESSES FOR 1–100
10
MAX GUESSES FOR 1–1000
3
RANGES TO CHOOSE FROM

How to play Number Guessing Game

  1. Choose a range: 1 to 10, 1 to 100 or 1 to 1000.
  2. Type a whole number and press Guess, or press Enter.
  3. You are told if the secret number is higher or lower than your guess.
  4. Keep guessing until you find the number. The game counts your guesses.
  5. Your fewest guesses for each range are saved. Press New game to play again.

Number Guessing Game tips and strategy

Frequently asked questions
What is the best strategy?
Always guess the middle of the numbers that are still possible. Each guess cuts the possibilities in half.
How many guesses do I need for 1 to 100?
At most 7 with the halving strategy, because 2 to the power of 7 is 128, which is more than 100.
How many guesses for 1 to 1000?
At most 10, because 2 to the power of 10 is 1024.
Is the number picked fairly?
Yes. Every number in the range has the same chance of being chosen.
Are my best scores saved?
Yes. Your fewest guesses for each range are saved in your browser on this device.
Can I change the range?
Yes. Pick a different range at any time and a new game starts.
Is it free?
Yes. It is free in your browser with no download or account.