Loot and Randomness in Video Games

Randomness in Video Games: Drops, Crits and Procedural Systems

A map of where random numbers show up in video games, from loot drops and critical hits to level generation, AI, and matchmaking, and why designers use them.

On this page
  1. Why Games Use Chance at All
  2. Where Random Numbers Appear
  3. How the Computer Produces Chance
  4. Fair Randomness Versus Felt Randomness
  5. Reading Random Systems as a Player
  6. Where Designers Draw the Line

Why Games Use Chance at All

Almost every video game contains some form of randomness, even games that feel entirely skill-based. Designers add chance for a few practical reasons: it makes repeated play less predictable, it lets a small amount of content feel larger, it gives weaker players an occasional win, and it creates moments of tension where the result is not known in advance.

The same few mathematical ideas appear again and again. A random event has a set of possible outcomes, each with a probability. Many events happen in sequence, and the average result over many events can look very different from what happens in one short session. Keeping those ideas in mind makes the individual systems below much easier to read.

Where Random Numbers Appear

Loot and Reward Drops

The most familiar example is the loot drop: an enemy is defeated, a chest is opened, and the game decides what comes out. Behind the screen this is usually a weighted table, where each possible item has a weight and the game picks one in proportion to those weights. The stated percentage on a drop is a per-attempt chance, not a promise about any particular number of attempts. The details of drop rates and how a table turns weights into percentages are worth understanding before judging whether a reward is “rare” or just unlucky.

Combat Rolls

Combat is the second large category. Games commonly roll for whether an attack hits, whether it is a critical hit, how much damage falls inside a range, and whether a status effect lands. Each of these can be a separate roll. Critical hits are a good example of how two numbers, a chance and a multiplier, combine into an average result. Some tactics games also show a hit percentage to the player, which brings in questions of perception as much as probability.

Reward Systems with Purchases

Many games sell randomized rewards, such as loot boxes or gacha pulls. These use the same weighted-table idea, but real money or hard-earned currency is involved, which raises the stakes for understanding the published rates. Games in this style often add counters that guarantee a result after a certain number of failures. That is the territory of gacha mechanics and the pity timer.

Level and World Generation

Some games build their levels from a random process instead of storing them by hand. Dungeons, maps, enemy placements and item locations can all be generated when a run begins. This is usually controlled randomness: the generator follows rules so that every result is playable. Procedural generation is the umbrella name for these techniques.

Behavior Tuning and Artificial Intelligence

Non-player characters often use small amounts of randomness so that their behavior is not perfectly repeatable. An enemy may choose between two attacks, wait a variable time before acting, or wander in a slightly different path. This is typically a mild effect, but it prevents players from learning a script and exploiting it every time.

Matchmaking and Online Systems

Online games use chance in ways players do not always see: which teammates are drawn from the pool, which map comes up, or how a server settles near-simultaneous events. These are covered more fully elsewhere, for example in the discussion of matchmaking fairness. The important point here is that “random” in a multiplayer setting often means “chosen from a pool by rules”, not a pure coin flip.

How the Computer Produces Chance

Computers do not flip coins. They use algorithms called pseudo-random generators that produce a long sequence of numbers that behave statistically like random ones. These random number generators start from an internal state, and each request moves that state forward. If you know the starting point, called the seed, the sequence is fully determined. That is why a game can reproduce the same world from the same seed, and it is also why some players can influence outcomes by reloading saves. The practical consequences of random seeds and how players interact with them appear in the topic of save scumming.

Fair Randomness Versus Felt Randomness

A pure random process has no memory. Each roll is one of many independent events, and a string of misses does not make the next hit more likely. People tend to expect the opposite. After several failures, a hit feels “due”, which is the gamblers fallacy, and after several successes a player may feel they are on a streak that must continue.

Designers know about this gap between math and intuition, and some respond by making the system less pure. Pseudo-random distribution raises the chance after each failure so that long dry spells become rare. Shuffle bags guarantee that every item appears before any repeats. Bad luck protection counters ensure that a reward arrives eventually. Each of these trades some of the mathematical independence of a pure roll for a smoother player experience.

Reading Random Systems as a Player

A few habits help when you meet a random system in any game.

  • Ask what the unit of chance is. A single roll, a pull, a run, and a session are different scales, and the same probability reads very differently at each.
  • Distinguish the average from a typical experience. Expected value describes what happens over very many attempts, while any one player may land well above or well below it.
  • Look for hidden rules. A displayed percentage may or may not be the actual per-roll chance, and some systems adjust odds based on recent results.
  • Remember that long-run frequency is not a schedule. A 1 in 100 chance can fail many times in a row without anything being wrong.
  • Treat any system that costs real money with extra caution, and set limits before you begin, because the outcome of a random purchase is never guaranteed.

Where Designers Draw the Line

Good random design usually keeps three things in view. First, the player should feel that skill and decisions matter more than luck over a full session, even if luck decides individual moments. Second, the game should recover from bad outcomes, either through safety nets or through systems where a bad roll can be played around. Third, the cost of bad luck should be proportional to what is at stake, which is why a missed shot in a casual game is shrugged off while a missed reward after many purchases feels harsh. These ideas return throughout video game design and are the lens through which the other articles in this section treat each individual mechanic.

Keep exploring

Guides from other topics

All topics →