RNG Game: Randomness, Explained
Every game that rolls a die, shuffles a deck or drops a rare item is leaning on a random number generator. This page explains what that machinery really is, why playing against it is satisfying, and exactly how Numberdle picks the number you are hunting today.
What a Random Number Generator Is
A random number generator is anything that produces values you cannot predict from the values that came before. Physical generators get this from the world: a tumbling die, a well-shuffled deck, electrical noise in a circuit, the decay of a radioactive atom. Software almost never has access to that kind of noise on demand, so it fakes it convincingly.
The standard trick is a pseudo-random number generator. You give it one starting number, called a seed. It applies a fixed arithmetic recipe to produce an output, then feeds the result back into itself to produce the next one. The stream that comes out has no visible pattern and passes statistical tests for randomness, but it is fully determined by the seed. Same seed, same stream, every time, on every machine.
That reproducibility sounds like a weakness. For a daily puzzle it is the single most useful property available, and the rest of this page is really about why.
Why Random Number Games Are Fun
Randomness does something specific to a game: it removes the possibility of a memorised answer. If the target were fixed, the first player to find it could publish it and the game would be over. A fresh unpredictable target means yesterday's knowledge is worth nothing and everyone starts level.
It also produces stories. A number like 444444 or 123456 turning up is a genuine coincidence, which is why it feels worth mentioning to someone. A game with no chance in it has results but no anecdotes.
The failure mode is a game that is only chance. Pure luck gives you nothing to get better at, and skill with no variance gets stale. The combination worth aiming for is a random question answered by reasoning, which is the shape Numberdle takes: chance decides which number, deduction decides how fast you find it.
How Numberdle Generates the Daily Number
The whole process runs in your browser. There is no server call, no database and no stored list of puzzles. It works in four steps:
- Take today's date in UTC and flatten it to eight digits, so
1 October 2026 becomes
20261001. Using UTC rather than local time means a player in Tokyo and a player in Chicago are working on the same number at the same moment. - Hash those digits with FNV-1a, a small well-studied hash function. Hashing matters because consecutive dates are nearly identical as numbers, and a hash scatters near-identical inputs to completely unrelated outputs. Without it, consecutive days would produce suspiciously similar targets.
- Seed a generator with that hash. We use mulberry32, a compact generator with good statistical behaviour for this purpose, and discard its first output because the first value from a freshly seeded generator still correlates with the seed.
- Scale the result into the six-digit range, giving one number between 100,000 and 999,999.
Because every step depends only on the date, the archive needs no storage either. Feed in an older date and the same four steps rebuild that day's number exactly. Past puzzles are recomputed, not retrieved.
What Fairness Means Here
Fairness in a daily game comes down to a few promises, and it is worth being precise about which ones we can actually keep.
- Everyone gets the same number. Guaranteed by construction, not by policy. The number is a function of the date, so there is no mechanism by which two players could receive different puzzles.
- Every hint is true. Hints are computed from the real target. Nothing is withheld to prolong a game and no feedback is fudged to make a near miss look further away than it was.
- The number cannot change mid-game. It is fixed before your first guess, so it is never adjusted in response to how you are playing.
- The method is open to inspection. The generator runs in your browser in readable code. You do not have to take our word for any of the above.
- The number is predictable if you want it to be. This is the honest trade-off. Anyone who reads the code can work out future numbers. We would rather be checkable than secret, and spoiling your own puzzle is a strange way to spend an afternoon.
One thing a seeded generator does not promise: it is not suitable for anything where unpredictability protects something valuable. Passwords, tokens and keys need a cryptographic source. Our random number generator tool uses the Web Crypto API for exactly that reason, and it is a different mechanism from the one described on this page.
Frequently Asked Questions
- What does RNG actually stand for?
- RNG stands for random number generator. In games the term is used loosely for any system that decides an outcome by chance rather than by skill: a dice roll, a card shuffle, a loot drop. Strictly speaking, most software uses a pseudo-random number generator, which produces numbers that pass statistical tests for randomness but are actually computed by a formula from a starting value called a seed.
- Is Numberdle an RNG game?
- Partly. The hidden number is chosen by a pseudo-random formula, so which number you face is down to chance. Finding it is not. Every hint you get is deterministic and truthful, so once the number exists the rest of the puzzle is deduction. Chance sets the question; logic answers it.
- Can the daily number be predicted in advance?
- Yes, and deliberately so. The generator is seeded with the date, and the code that produces it runs in your browser where anyone can read it. Working out tomorrow’s number is possible for anyone willing to look. We treat that as honesty rather than a flaw: it is the same property that lets every player share one puzzle without a server, and it means we cannot quietly change a number after the fact.
- Is a seeded generator less fair than true randomness?
- For a daily puzzle it is fairer. True randomness would have to come from a server, which means trusting that the server gave everyone the same number and did not reroll it. A date-seeded formula can be checked by anyone, and it produces the identical number on every device with no network request at all.
- Does the generator favour certain numbers?
- No. The formula maps each date onto the 900,000 six-digit numbers with no part of the range preferred over another. Numbers with eye-catching structure, like palindromes or long runs of one digit, feel special when they appear, but they are not weighted to appear more or less often than any other number.