Ready to play

Higher
or Lower

Find the secret number. One hint at a time.

A secret number is hiding in your chosen range. Each guess reveals whether to go higher or lower. How fast can you find it?

Go Higher
Go Lower

Custom Range

Optimal Score

Instant Play

Higher or Lower

Number Guessing Game

Simple Yet Addictive

A classic number guessing game refined for quick, satisfying rounds.

Flexible Range

Pick a preset (1–50, 1–100, 1–1000) or set any custom range. You decide the difficulty.

Directional Hints

After every guess you get a clear Higher or Lower clue, so you can systematically narrow down the answer.

Optimal Score

See how your attempt count compares to the theoretical minimum. Can you match the binary search benchmark?

How to Play

Find the secret number using directional clues in as few guesses as possible.

1

Pick Your Range

Pick a preset range or define your own custom range. Larger range means a harder challenge.

2

Enter a Guess

Type any number within the range. You'll instantly see if the secret is Higher or Lower.

3

Zero In

Use each hint to narrow the range until you land on the exact number.

Always guess the midpoint of your remaining range. This guarantees you find any number in ⌈log₂(n)⌉ guesses or fewer.

Example: Range 1–100

Guess 50 → Too high
Guess 25 → Too low
Guess 37 → Too high
... at most 7 guesses to find any number

Optimal Guesses by Range

1–50 → 6 guesses max
1–100 → 7 guesses max
1–1000 → 10 guesses max
Custom → ⌈log₂(range)⌉

Frequently Asked Questions

How does Higher or Lower work?

A secret number is chosen within your selected range. You enter a guess and get told whether the secret number is higher or lower, until you find it exactly.

What is the 'Optimal' number shown after winning?

It's the minimum guesses theoretically needed using the binary search strategy — ⌈log₂(range size)⌉. For 1–100 that's 7.

What range should I pick as a beginner?

Start with 1–50 to get a feel for the binary search strategy, then move to 1–100, 1–1000, or set a custom range for a real challenge.

How is this different from the Knowess deduction game?

Knowess asks you to deduce a multi-digit number from match counts. Higher or Lower is a single-number hunt with directional clues — a simpler but equally satisfying puzzle.

Ready to play again?

Challenge yourself to beat the optimal guess count every round.

Play Higher or Lower