HTML5 game publishing
Designing Elimination Rounds: Bots, Shrink Pacing and Fast Restarts
Space, chase and track elimination need different systems. Filling lobbies with honest bots, a three-phase shrink schedule, fast restarts and keeping many actors cheap.
Elimination games, where the round ends when one player or team is left standing, are some of the most replayed games in the browser. Titles like Hex Drop.io, Sumo.io and the endless family of battle royale clones show the format works. They also have a problem independent developers hit immediately: an elimination game with six players in a lobby of twelve is a bad game, and you probably do not have the servers to guarantee full lobbies. This post is about designing elimination rounds that feel full, pace well and stay fair, even when the opponents are bots.
Decide what "survive" means
Three different mechanics all get called survival races, and they need different systems:
- Space elimination. The arena shrinks or drops away and players who are caught outside fall. Examples: a shrinking sumo platform, hexagon floors that fall after you step on them.
- Chase elimination. Something pursues the players and removes those it catches.
- Track elimination. A race where the last player in position is removed at intervals, or players who fall off the course are out.
Pick one for your core loop. Mixing all three produces a game that is hard to explain in one sentence, and your page description has to be able to explain it in one sentence.
Fill the lobby with bots, and be honest about it
If you do not run multiplayer servers, the practical answer is a local simulation with bots. This is a legitimate design, but two rules apply:
- Do not claim multiplayer you do not have. If other players are bots, the description should not say "play online with real players". Players notice, and stores reject misleading descriptions.
- Give bots personality. A lobby where every bot behaves the same is obviously fake and dull. Vary aggression, reaction delay and risk.
A bot can be as simple as a small set of numbers:
const bot = {
reaction: 150 + Math.random() * 350, // ms before it reacts to a change
aggression: Math.random(), // 0 = avoids, 1 = hunts
mistake: 0.02 + Math.random() * 0.08, // chance per second of a bad move
};
The mistake value is the most important one. A bot that never errs feels like a machine and ends rounds too predictably. A bot that sometimes falls off the edge makes the player feel skillful.
Pace the shrink
For space elimination, the arena schedule is the pacing of the whole round. A good shrink has three phases:
- Grace. A few seconds with no shrink, so everyone can orient.
- Squeeze. Gradual shrinking that forces contact.
- Endgame. A faster collapse so rounds do not drag if two players keep circling.
function arenaRadius(t, start = 14, min = 3, grace = 5, total = 70) {
if (t < grace) return start;
const k = Math.min(1, (t - grace) / (total - grace));
const eased = k * k * (3 - 2 * k); // smoothstep
return start + (min - start) * eased;
}
Cap the total round length. If a round can last five minutes with nothing happening, players quit. A hard end, such as the arena closing completely at the 70-second mark, guarantees a result.
Make elimination fast and not final
The worst moment in an elimination game is watching after you lose. Keep it short:
- Show the result and a one-tap Play again within two seconds of falling.
- If the round is long, let the eliminated player spectate with a skip button.
- Where it fits, let the player fall to a lower layer instead of dying, as hexagon-floor games do. It prolongs the fun without making rounds longer.
Rubber banding, carefully
If the strongest bot always wins, the player stops caring. If the player can never lose, the win means nothing. Gentle balancing:
- Scale bot skill by player win rate over the last few rounds, within a small band.
- Never make bots cheat visibly, such as teleporting or moving faster than the player's maximum.
- Let early rounds be easier, which doubles as onboarding. Our post on the first 30 seconds of a browser game explains why.
Performance with many actors
Ten or twelve characters with physics on a phone is where browser games start to struggle. Practical limits:
- Update bots at a lower rate than rendering. Thinking at 10 Hz and moving at 60 Hz is indistinguishable and much cheaper.
- Use simple circle or sphere collision. See 2D collision detection for browser games.
- Pool particles and avoid allocating during play. Garbage collection and memory leaks in JavaScript games shows the pattern.
- Run the simulation on a fixed timestep so rounds behave the same on slow and fast devices. See fixed timestep game loops.
Test it with the real constraint
The hard test is the first thirty seconds with strangers. Watch whether they understand what "survive" means without reading. If you have to explain the rule, show it: the first round should visibly demonstrate the shrink or the chase. For finding people to test with, see cheap playtesting for indie browser games.


