Balance Lab

Probability and Gaming: An Exploration of the Impact of Probability on Game Development

A designer-workflow look at how chance-based mechanics are tuned through playtest data: hypotheses, small changes, measurement and knowing when to stop.

On this page
  1. Tuning is a loop, not a decision
  2. Step one: say what the number is for
  3. Step two: gather the right data
  4. Step three: change one thing at a time
  5. Step four: check the tails and the interactions
  6. Step five: know when to stop
  7. A short summary of the workflow

Tuning is a loop, not a decision

Few designers pick the right probability on the first attempt. A chance-based mechanic, such as a chance to stun, a rate of finding a rare item or the odds of a card appearing, usually starts as an educated guess. It is then adjusted through repeated cycles of play, measurement and revision. This article describes that loop from the designer’s seat. How chance is built into the code is a separate production topic, and why chance is used at all is a design-goal question; here the focus is the process of tuning.

Step one: say what the number is for

Before changing a probability, good tuning starts with an intent. A designer might want a rare event to occur about once per play session, or want a defensive option to succeed often enough to feel reliable but not often enough to remove risk. Without that target, there is nothing to measure against, and every result can be read as success or failure.

Targets are often expressed in terms players can feel, such as how many attempts an event takes, rather than in raw percentages. Converting between the two is simple arithmetic. If an event has a probability of 1 in 20 per attempt, the average wait is 20 attempts. The average, however, hides a wide spread: the chance of going 20 attempts without a single success is 0.95 to the power of 20, which is about 36 percent. A designer who knows this expects some players to wait much longer than the average, and plans for it.

Step two: gather the right data

Playtest data comes in two kinds, and tuning needs both.

  • Quantitative. Logs of how often an event triggered, how often it succeeded, and how often outcomes led to wins or losses. Telemetry from live or test builds supports this. It answers what happened.
  • Qualitative. Observations, interviews and feedback. They answer how it felt, which numbers cannot. A mechanic can hit its intended rate and still feel unfair if the failures cluster.

Because random events are noisy, the amount of data matters. A small playtest may show a stun triggering far more or less than its true rate simply by chance, which is why sample size comes up again and again in tuning. Many designers run a quick simulation or spreadsheet first to learn what the expected spread looks like, then use playtests to check feel rather than to estimate rates. Players also tend to remember streaks, and random clumping can make a correct rate seem wrong.

Step three: change one thing at a time

When several variables change together, it is hard to tell which one caused a result. Designers therefore tend to alter one parameter per cycle, such as the base chance, a cap, a cooldown or a bonus after failure, and record what changed. Small adjustments are usually preferred, partly because a mechanic often interacts with others. A change to critical hits, for example, affects damage variance, which affects how long fights last and how players value defensive options.

Writing down a hypothesis helps: “If I raise the base chance from 10 to 12 percent, players should find the item about one run sooner on average.” After the test, the result is compared to the prediction. If they disagree, the designer learns something about the system, not just the number.

Step four: check the tails and the interactions

Averages are not enough for chance mechanics. Designers also look at the extremes: the unluckiest few percent of players and the luckiest. If the unlucky group quits, the average is not helping. This is what motivates bad-luck protections and other bounded randomness tools, and it is also where the choice between independent draws and adjusted probabilities is revisited.

Interactions matter too. A mechanic that is fine alone may become too strong when stacked with another, because probabilities compound. Two independent 20 percent effects that must both succeed produce a joint chance of 4 percent (0.2 times 0.2), whereas the chance that at least one occurs is 36 percent (1 minus 0.8 times 0.8, or 1 minus 0.64). The same pair of numbers gives very different experiences depending on whether the design requires both or either.

Upgrade success rates, for instance, interact with the economy around them: a rate that feels generous in isolation can feel stingy once the price of failure is added. Cost curves in card and unit design are a related case of tuning several numbers against one another.

Step five: know when to stop

Tuning has diminishing returns. Eventually the remaining differences are smaller than the noise a normal player will notice, and further changes risk breaking something else. Many teams set criteria in advance: a target range for the metric, a minimum amount of data, and a qualitative check that testers do not complain about the mechanic. When those are met, they move on and revisit the mechanic only when other systems change or live data shows drift.

After release, the loop continues with real player data, which is more plentiful and more varied than a playtest. Gameplay analytics from live play can reveal behaviours the test group never showed, although changes then have to be handled carefully since players have expectations.

A short summary of the workflow

  1. State the intent for the number.
  2. Estimate expected results by arithmetic or simulation.
  3. Playtest and record both data and impressions.
  4. Change one variable and compare with the prediction.
  5. Check extremes and interactions.
  6. Stop when the targets are met, and monitor afterwards.

Tuning chance is partly mathematics and partly judgement about what players will accept. The loop does not guarantee a perfect answer, but it keeps each adjustment tied to evidence rather than instinct.

The complete guide to balance lab

Probability and Gaming: A Study of the Impact of Probability on Game Balance
Read the guide

Keep exploring

Guides from other topics

All topics →