Sub topic 14
Mitigating bad luck with catch-up and recovery
This chapter assumes you have read the chapters on variance and streaks, balancing skill and luck, and keeping decisions meaningful under chance. You should also be able to read short Python programs. Pity timers appear here only as one tool among several. The earlier chapter on them covers how they work.
The problem mitigation solves
Variance guarantees that some players will have a bad run. A player who falls behind early often has no realistic way back, but the game keeps going for another twenty minutes. A player who loses a run of rolls may never see the interesting parts of the game. Mitigation is any rule that limits how much one stretch of bad luck can decide an outcome.
Mitigation does not remove randomness. It changes how far a bad result can carry forward. Two questions define the design:
- How large is the gap between the unlucky player and everyone else?
- Can the unlucky player still make decisions that matter?
Two families of mitigation
| Family | What it reacts to | Typical examples | Main risk |
|---|---|---|---|
| Catch-up | Being behind other players right now | Bonus income for the last-place player, better draws for trailing teams, cheaper upgrades when behind | Leaders feel punished for playing well |
| Recovery | Having lost something, or having been unlucky | Pity timers, partial refunds on failed upgrades, respawn kits, extra lives | Failure becomes cheap, so risk loses its meaning |
Catch-up compares players to each other, so it only exists in competitive or ranked settings. Recovery compares a player to their own past, so it also works in single-player games.
A feedback loop you can reason about
A catch-up rule is a feedback loop. Falling behind produces a bonus, and the bonus shrinks the gap. The loop is stable only if the bonus is smaller than the gap it responds to. If the bonus overshoots, the trailing player becomes the leader and the loop reverses, which makes results swing wildly.
Three properties make this loop safe: the bonus is proportional to the deficit, it has a cap, and it reaches zero when players are level.
Measuring a catch-up rule
You can test the loop with a small simulation. Two players score a die roll each round. Each trailing player gets a bonus equal to catchup times their deficit, capped at 3 points. We then check how often the player who led at halftime goes on to win.
import random
def play(rng, catchup, rounds=10):
scores = [0.0, 0.0]
half_leader = None
for r in range(rounds):
bonuses = []
for i in (0, 1):
deficit = max(0.0, scores[1 - i] - scores[i])
bonuses.append(min(catchup * deficit, 3.0))
for i in (0, 1):
scores[i] += rng.randint(1, 6) + bonuses[i]
if r == rounds // 2 - 1 and scores[0] != scores[1]:
half_leader = 0 if scores[0] > scores[1] else 1
if scores[0] == scores[1]:
return half_leader, None
return half_leader, (0 if scores[0] > scores[1] else 1)
def leader_win_rate(catchup, trials=20000, seed=5):
rng = random.Random(seed)
counted = won = 0
for _ in range(trials):
leader, winner = play(rng, catchup)
if leader is None or winner is None:
continue
counted += 1
won += leader == winner
return won / counted
for catchup in (0.0, 0.25, 0.5, 1.0):
print(catchup, round(leader_win_rate(catchup), 3))The code computes both bonuses before either player rolls, so neither player gets an advantage from the order of play. The seeded generator makes the numbers repeat on every run.
With catchup = 0, the halftime leader wins more than half the time, because they hold a head start. As catchup grows, that rate falls toward 50%. If it falls below 50%, trailing has become an advantage, and your rule is too strong. Players will notice and start throwing early rounds.
Design rules that keep mitigation healthy
- Scale with the gap. A flat bonus helps a player who is barely behind as much as one who is hopelessly behind. Proportional bonuses give help where it is needed.
- Cap the bonus. An uncapped rule can turn one bad round into an enormous swing back.
- Never take from the leader. Giving the trailing player resources feels like help. Removing the leader's resources feels like a penalty for doing well. The first approach costs the leader nothing they have earned.
- Keep the rule visible or at least predictable. Players tolerate "last place draws an extra card" because they can see it. They resent a hidden adjustment they only suspect.
- Keep decisions meaningful. A rescue that arrives regardless of what the player does teaches them that choices do not matter. Prefer help that gives the trailing player more options, such as extra actions, cheaper comebacks, or access to a risky move, rather than automatic points.
- Match the audience. A casual party game benefits from strong catch-up. A competitive game with ranked play needs a weaker one, since players expect skill to decide the winner.
Recovery mechanisms in practice
Recovery rules target the individual player's streak of bad luck rather than their standing.
- Pity timers count failures and guarantee a success at a limit. They put a ceiling on the worst case.
- Partial refunds return some of the cost of a failed upgrade, so a failure still leaves progress behind. A common form is a "failure counter" that raises the next attempt's chance.
- Soft recovery states let a player who loses a fight keep part of their loot, or respawn near the action. The loss still hurts, but it does not end their session.
- Consolation rewards pay out something small for every loss, such as experience. Each loss then adds to the player's progress.
Notice what these share: they keep the possibility of a loss, and they limit its consequences. If you remove the loss entirely, the risk and reward trade-off from the earlier chapter disappears.
Common errors
- Stacking mitigations. A game with catch-up income, pity timers, and refunds can end up with an effective success rate far higher than the table says. Re-run your simulation after adding each layer.
- Rewarding losing. If trailing gives a stronger position than leading, players will play to fall behind. Test for this by checking that the leader's win rate stays above 50%.
- Mitigating the wrong thing. Players quit over feeling powerless, not only over losing. A rule that restores a sense of options often works better than one that restores points.
- Hiding the rule from yourself. Designers sometimes tune mitigation by feel. Because streaks vary wildly between sessions, a few playtests will not reveal an overshoot. Use simulation to check a rule across thousands of matches.
Exercise
In the simulation above, you set catchup to 1.0 and find that the halftime leader wins only 41% of matches. What does this tell you about the rule, and name two changes you could make to fix it.
Show answer
A leader win rate below 50% means trailing is now an advantage, so the feedback loop overshoots and rewards falling behind. Fixes include lowering the catch-up factor, lowering the bonus cap, or adding a floor so the bonus only applies when the deficit is larger than a threshold. Re-run the simulation after each change to confirm the leader's win rate settles slightly above 50%.