What is a seed in games? It is the starting number for a game's random choices. Feed the same seed into the same code and every "random" pick comes out identical, every time, on every device. That is how one shared number can rebuild a whole world, a dealt layout or, in Bomb Appétit, a complete manual.
How a game seed makes randomness repeatable
Computers do not roll dice. They run a formula that turns one number into a long stream of numbers that look random. The seed is the number the formula starts from. Start from the same seed and the stream is the same, so every choice the game makes from it repeats exactly.
The formula is called a pseudorandom number generator. "Pseudo" is the honest part: the numbers only look random. Each one is calculated from the state left by the one before, and that state began with the seed. Nothing about the stream depends on the time of day, the mouse or the weather unless the code mixes those in on purpose.
Games use this in two ways. Some take a seed from the clock when you start, so each session feels different and nobody chose it. Others show you the seed, or let you type one, so you can return to a result you liked or hand it to a friend.
Bomb Appétit's engine is built entirely on the second kind. It has no clock and no access to the browser's own random function; its lint rules reject both inside the engine package. Instead, every random choice comes from a stream keyed to text, such as the word rules: followed by the rule seed. The engine hashes that text into a starting state and draws from there.
The engine adds one more idea, called forking. A fork is a new stream whose key is the parent's key plus a label, such as a module's name. Forks do not depend on how many numbers were already drawn, so one module's draws never shift another's. Adding a new choice in one place leaves every other result alone.
All of this is why a seed can stand in for a whole set of results. A number is easy to type, say aloud or write on paper, and it rebuilds the same output wherever the same code runs. The game relies on this every time it deals a bomb: the same seed gives the same bomb on every machine, and the server uses the same property when it replays a run before ranking it.
Why do players share a seed with each other?
Players share a seed so they can see the same thing without sending the thing itself. A number replaces a file. In a race, a shared seed puts everyone on the same course. In a cooperative game where players hold different parts of the puzzle, it guarantees those parts actually belong together.
There are a few common reasons:
- Fair comparison. If two groups play the same seed, a faster time means a faster team, not an easier draw.
- Revisiting. A seed that produced a good session can be played again later.
- Splitting information. When one player sees one part and another player sees another part, both parts must come from the same seed.
- Reporting problems. A seed lets someone describe exactly what they saw, so another person can reproduce it.
Bomb Appétit depends on the third reason. The Defuser sees the bomb. The Experts read the manual. Neither sees the other's half. The only thing that ties them together is the rule seed: the bomb is judged by the rules for its seed, and the manual prints the rules for its seed. If the two numbers differ, the Experts are reading rules for a different game.
That is why every manual states its number near the top of its first page, and why the setup screens name the manual to open. The short guide on what a rule seed is and where its number appears lists every place to check it.
In an online room, the room holds one rule seed and every Expert's screen loads the manual for it. In the same room, with phones or paper, the players do the sharing themselves by reading the number aloud.
World seeds, level seeds and rule seeds compared
Seeds fix different things in different games. A world seed fixes a whole generated landscape. A layout seed fixes how a level, a deck or a board is dealt. A rule seed fixes the rules themselves. Each one leaves something open for the players, and that open part is where the game actually happens.
The table compares the three uses. The examples are general descriptions, not any one game's features.
| Seed use | What the number fixes | What stays open | Why players share it |
|---|---|---|---|
| A generated world | Terrain, landmarks and where resources sit | Where players go and what they build | To explore or build in the same place |
| A dealt layout | The order of a deck, a level's room plan or a puzzle grid | Every move the player makes | To race or compare on the same deal |
| A generated rulebook | The rules: conditions, tables and answers in a manual | Which bomb is dealt and how the team talks it through | So the people reading rules and the person acting share one set |
Bomb Appétit uses two of these at once. The rule seed is a rulebook seed: it writes the manual. A separate bomb seed is a layout seed: it deals which modules land on the case, the edgework on its sides and the starting state of each module. A round needs both, and they are chosen separately.
Most missions deal a fresh bomb each time while keeping the same rule seed. The first two missions fix both numbers, so the bomb repeats exactly. In freeplay, the player picks the rule seed and the server adds a bomb seed. The guide on why the bomb seed deals the bomb and the rule seed writes the manual explains how the two numbers divide the work.
Is a seed in games a cheat code?
No. A seed tells you which result you will get, not how to win it. It grants no extra lives, no hints and no shortcuts. Knowing a seed only helps if you have already studied what it produces, and even then you still have to play the result correctly under the same rules as everyone else.
Studying a seed can be part of the game. In Bomb Appétit, the rule seed for every manual is public: anyone can open any manual from 1 to 999,999 in a browser. A group that has played the standard manual many times will read it faster. That is practice, not cheating, and it is why most missions use seed 1. Every team on those boards can study the same pages.
Where a seed could matter is the bomb. If Experts knew the bomb seed, they could in principle rebuild the bomb and skip the talking. So online rooms keep it private. The server sends the bomb seed to the Defuser only. Experts get the rule seed and a status line with the time, the strikes, the modules solved and whether a needy module is awake.
Leaderboards add another layer. A run is listed only after the server replays its recorded inputs on the bomb it issued and the replay ends the same way. Knowing a seed does not let anyone fake that replay. The standard manual guide covers why missions rely on one shared manual and why seed 1's rules never shift.
The seed misunderstanding: a bigger number is not a harder game
A seed is a label, not a difficulty setting. Seed 900,000 is not harder than seed 12, and seed 1 is not the easiest. Each number simply starts a different stream. Whether a manual feels easy or hard depends on what that stream happened to draw and how familiar the group is with it.
The misunderstanding is natural. Many games put a number on a slider, and bigger means more. A seed field looks like one of those, especially when it accepts six digits. But the size of the number has no effect on the rules' length, the number of modules or the timer. Those come from the mission or the freeplay settings.
Bomb Appétit's final mission is a good example. It uses seed 2026, while every other mission uses seed 1. Its challenge comes from its settings: eleven modules, ten minutes and a single strike, on a manual the team probably has not studied. The number 2026 is not what makes it hard; any unfamiliar seed would have the same effect of making memory useless.
What does change difficulty in practice:
- Familiarity. A seed the group has read before is faster than a new one.
- The draw. Every accepted manual is solvable, but some draws have longer lists or harder symbols to describe.
- The bomb settings. Module count, needy modules, time limit and strike limit are set separately from the seed.
So if a group wants a harder evening, the reliable lever is the bomb settings, not a bigger number. To try both, open Play, pick a freeplay bomb, and change the module count and the manual number separately.