Loot and Randomness in Video Games

Balancing Random Elements in Roguelikes

How designers tune chance in games where every run restarts: weighted offers, floors on bad luck, variance control, and the balance between luck and skill.

On this page
  1. The Core Problem of a Run That Restarts
  2. Luck, Skill and the Idea of Variance
  3. Tuning Knobs Designers Commonly Use
  4. Meta-Progression as a Buffer
  5. Judging Whether the Balance Is Working
  6. What a Player Can Take From This

The Core Problem of a Run That Restarts

In a roguelike, a run is a self-contained attempt. The player starts with little, collects items and upgrades, and usually loses everything when the run ends. Because the run is short compared with a long campaign, the random elements inside it have an outsized effect. One strong item found early can carry a whole run, and a poor start can sink it.

That makes balance different from games where progress is permanent. Designers cannot rely on bad luck averaging out across many hours. They have to decide how much variation between runs is exciting and how much is just unfair, and then shape the random systems to land inside that range.

Luck, Skill and the Idea of Variance

It helps to separate two numbers: the average strength of a run and how widely runs differ from that average. A game can have the same average power level but very different feel depending on the spread. A narrow spread means most runs feel similar and skill dominates. A wide spread means some runs are overpowered, some are nearly hopeless, and results feel more luck-driven. This is the same idea as variance in design, applied to a whole run instead of a single roll.

Neither extreme is automatically right. Games built around discovering absurd item combinations often accept a wide spread because the extreme runs are the appeal. Games built around tight tactical play usually want a narrower one, so a loss feels like the player’s mistake rather than the dice. The tuning knobs below move a game along that scale.

Tuning Knobs Designers Commonly Use

Choice Instead of Pure Draw

Offering several options and letting the player pick converts pure luck into a decision. If a reward screen shows three items drawn from a pool, the player does not need one specific item; they need any item that fits their plan. This is a standard way to keep randomness while preserving agency. Suppose a pool holds 30 distinct items and a screen shows 3 of them without repeats. The chance that a given item appears on one screen is 3 out of 30, or 10%. Over five separate screens, treating each as independent, the probability of at least one appearance is 1 minus 0.9 to the fifth power. That is 1 - 0.59049, about 41%. The player had real choice on every screen, yet a specific item still shows up less than half the time, which is part of why runs differ.

Weighted Pools and Rarity

Pools are rarely uniform. Items carry weights, so common items appear often and powerful ones rarely, in the same way a loot table assigns percentages to outcomes. Many designers also change the weights as a run progresses, making stronger items more likely deeper into the run. This keeps early floors from being overwhelmed by a lucky pick while making later floors feel rewarding.

Floors on Bad Luck

A floor is a rule that prevents the worst outcomes. Common examples include guaranteeing a minimum amount of healing across the first few areas, making sure at least one shop appears before a certain point, or raising the chance of a good item each time the player is offered a weak set. These are cousins of the pity timer, adapted to a run: they do not remove randomness, they trim the worst tail of it.

Ceilings on Good Luck

Ceilings are less discussed but just as important. If one combination can make a character unbeatable, a game may limit how often it can appear, cap stacking effects, or scale enemies to the player’s power. The aim is to keep a lucky run exciting without making the remaining content meaningless.

Seeds and Fixed Runs

Some games let players share a starting seed so many people can attempt the same generated run. This turns a luck-heavy mode into a skill comparison, because everyone faces the same offers. The role of random seeds in making results repeatable is the technical basis for these modes.

Meta-Progression as a Buffer

Many roguelikes add permanent upgrades that survive between runs. This changes the math of balance. A player who loses a run still gains something, so the cost of bad luck is partly refunded. Over several attempts, the small permanent gains also shift the player’s typical run upward, which lets the designers keep individual runs highly variable without leaving a struggling player stuck.

The risk is balance drift. If permanent upgrades are too strong, early runs become trivial and the random elements stop mattering. Designers therefore tend to make permanent gains modest or to unlock options rather than raw power.

Judging Whether the Balance Is Working

Designers usually look at the distribution of outcomes, not just the average. Useful questions include how often runs end in the first area, how often the most powerful item combinations appear, and whether any single early choice predicts the final result too strongly. Playtest data and simulations can answer these, and short-run results from a handful of testers can easily mislead, which is why larger samples matter. A game simulation that plays thousands of automated runs can reveal outlier items that testers never noticed.

Player experience matters alongside the numbers. A run that ends on a bad draw feels acceptable if the player can see what they could have done differently, and feels unfair if the loss was set in motion by an early offer that no decision could have fixed.

What a Player Can Take From This

If you play these games, the main lesson is to separate decisions from draws. A strong run is usually one where the player made good use of whatever the draw provided, not one where the best items happened to appear. When a run fails, it is worth asking which choices were in your control. That habit tends to make the next run better, and it also protects against reading too much into a single lucky or unlucky attempt.

The complete guide to loot and randomness in video games

Randomness in Video Games: Drops, Crits and Procedural Systems
Read the guide

Keep exploring

Guides from other topics

All topics →