Rules for a 4-digit number game
One four-digit number is selected from 0001 to 9999. Enter a valid whole number and use the response to adjust your next guess. A lower guess means the answer is higher; a higher guess means the answer is lower. Keep leading zeroes when you display the value, so 42 is written as 0042 in a four-digit format.
You can approach the game as a logic exercise. Keep a mental or written lower bound and upper bound, and never make a guess outside that interval. A good guess does not need to be clever. It only needs to make the remaining search smaller.
Worked example
Guess 5000: too low, so keep 5001-9999.
Guess 7500: too high, so keep 5001-7499.
Guess 6250: too low, so keep 6251-7499.
Guess 6875: too high, then move to the midpoint of 6251-6874. The interval keeps shrinking until 6842 is the only sensible target.
This example shows why alternating large jumps with tiny guesses is inefficient. The midpoint gives you the most information per attempt.
Strategy for four digits
The full range contains 9,999 possible values. A binary-search rhythm can reduce that range quickly: begin around 5000, then move to the midpoint after every higher or lower clue. If the game also gives a close signal, use it as a transition point. Once you are within a small distance, stop making broad jumps and test nearby values.
- Use 5000 as a neutral opener.
- Record the current minimum and maximum after every guess.
- Use 2500 or 7500 as the next anchor, depending on direction.
- Format short values with leading zeroes: 7 becomes 0007.
FAQ
Are leading zeroes allowed?
Yes. The display format is always four digits, so values below 1000 include leading zeroes.
What is the fastest way to solve it?
Binary search is the strongest general strategy because each midpoint eliminates about half of the remaining values.
Where can I play a daily version?
Open the daily number guessing game guide or return to the RNGDLE home game.