Sub topic 12
Pacing the difficulty curve
This chapter covers how to arrange challenge across a tutorial and the early game so players keep learning without getting bored or stuck. It assumes you have read the chapters on levels as lessons (introduce, practice, twist) and on scaffolding that fades. It also assumes you can read short Python.
What a difficulty curve is
A difficulty curve plots how hard the game is against how far the player has progressed. The horizontal axis is time or level number. The vertical axis is the challenge the player faces, such as enemy count, timing precision, number of things to track at once, or the cost of a mistake.
A curve is a plan, and the player's experience is what you test it against. Two players can walk the same curve and feel different things, because difficulty is the gap between the challenge and that player's current skill. Pacing is the work of keeping that gap in a useful range.
Flow: the target zone
Flow is the state of being absorbed in a task whose challenge matches your skill. It is usually drawn as a channel between two failure states:
- Anxiety: the challenge is well above the player's skill. The player fails repeatedly and cannot work out why.
- Boredom: the challenge is well below the player's skill. The player succeeds without thinking and stops paying attention.
Skill grows as the player practices, so the channel slopes upward. A level that sits in the channel at minute two is boring by minute ten. This is why a flat curve fails even if its starting point is right.
Sawtooth pacing
Real games rarely raise difficulty in a straight line. The usual shape is a sawtooth: difficulty rises, then drops, then rises to a higher peak than before. Each rise follows the pattern from the levels-as-lessons chapter.
- Introduce: a new mechanic appears in a safe space. Challenge is low.
- Practice: the mechanic is combined with things the player already knows. Challenge climbs.
- Twist: the mechanic is used in a surprising way. Challenge peaks.
- Rest beat: a calm section, a reward, or a story moment lets the player relax before the next mechanic arrives.
The dip matters as much as the climb. A new mechanic introduced at peak difficulty forces the player to learn the idea and survive pressure in the same moment. The dip after a peak also gives players time to consolidate what they just learned. Skill gains often settle during easy stretches rather than during struggle.
Where onboarding curves go wrong
| Problem | What the player experiences | Typical cause | Fix |
|---|---|---|---|
| Early spike | A sudden wall, often the first combat or precision jump | A new mechanic and a skill test are combined in one step | Split them: teach the mechanic safely, then test it later |
| Long plateau | Nothing new for many minutes, attention drifts | Too much practice with no twist | Add a twist, or cut the repetition |
| Cliff after the tutorial | The tutorial was easy, then the game suddenly is not | Scaffolding was removed all at once | Fade support across several levels |
| Dead-end difficulty | Repeated failure with no sign of what to change | Poor feedback, not high challenge | Improve cause-and-effect feedback before lowering numbers |
| Flat curve | Competent players leave bored | The tutorial is tuned only for the least experienced player | Add optional harder challenges and a skip path |
Many of these look like difficulty problems but are teaching problems. If players fail at a jump because they did not know jump height depends on how long the button is held, lowering the gap width hides the problem and does not solve it. Check the signifier and feedback first, then adjust numbers.
The cost of failure is part of difficulty
Challenge is not only how hard something is. It also includes what failure costs. Two games can have identical obstacles, and one can feel far harder because failure sends the player back five minutes.
In the first minutes, keep failure cheap:
- Place checkpoints just before each new challenge.
- Respawn the player instantly, with no loading screen or long death animation.
- Keep progress that was already earned, such as collected items.
- Make early failures informative. The player should see what killed them.
You can raise the cost later. A player who trusts the game's rules will accept a harsher penalty than a player who is still guessing.
Controlling several difficulty variables
Difficulty has more than one dimension, and changing several at once makes failure hard to diagnose. Common variables include:
- Execution: precision and timing demanded of the hands.
- Knowledge: how many rules the player must remember.
- Load: how many things must be tracked at once.
- Pressure: time limits and cost of failure.
A reliable approach is to raise one variable per step. A level that adds a new enemy type (knowledge) should not also tighten timing (execution). When playtesters fail, you can then name which variable caused it.
Adjusting difficulty to the player
A fixed curve fits an average player who does not exist. Dynamic difficulty adjustment (DDA) changes challenge based on how the player is performing. The rule can be simple: after several consecutive failures, ease something. After a streak of clean successes, add pressure.
def next_difficulty(current: int, results: list[str], lo: int = 1, hi: int = 10) -> int:
"""Pick the next difficulty (lo..hi) from the last few attempts.
results holds "pass" or "fail" for recent attempts, newest last.
"""
recent = results[-3:]
if len(recent) < 3:
return current # not enough evidence yet
fails = recent.count("fail")
if fails >= 2:
current -= 1 # struggling: ease off
elif fails == 0:
current += 1 # coasting: push a little
return max(lo, min(hi, current))
print(next_difficulty(4, ["fail", "pass", "fail"])) # 3
print(next_difficulty(4, ["pass", "pass", "pass"])) # 5
print(next_difficulty(4, ["pass", "fail", "pass"])) # 4The function changes difficulty by at most one step, uses a window of three attempts, and clamps to the allowed range. Those three choices keep it from oscillating wildly.
DDA has known failure modes:
- Players notice and exploit it. If failing on purpose makes the game easier, some players will fail on purpose.
- It can hide a design flaw. If most players trigger the easing at the same spot, the level is the problem, so fix the level.
- It can feel patronizing. Quiet adjustments, such as slightly more health drops, are better received than visible handicaps.
- It teaches the wrong skill. If the game eases every time the player struggles, the player may never learn the mechanic and only get through it.
An alternative is player-selected difficulty, which is more transparent and respects agency. Many games offer both: an explicit setting plus small quiet adjustments inside it.
Fading support along the curve
The scaffolding chapter described support that withdraws as skill grows. Pacing decides when. A workable schedule ties each removal to evidence of skill, not to a fixed level number:
- Start with full support: prompts, safe space, forgiving timing.
- Remove one support at a time, such as the on-screen prompt.
- Wait for the player to succeed at the unsupported version once or twice.
- Only then remove the next support.
If the player fails right after a support is removed, the hint system from the previous chapter can bring a lighter version of it back. Removal and return together make fading safe to try.
Checking the curve with data
You will confirm the curve in playtests and funnel data, which later chapters cover. Two signals are worth knowing now:
- Time on a step. A step where median time is far above its neighbors is a plateau or a wall.
- Retries per step. A spike in retries marks a difficulty jump. A spike with long time also suggests confusion rather than challenge.
Sustained quitting at one step is the strongest evidence that the curve has a spike there.
Summary of working rules
- Aim for the flow channel, and expect it to slope upward as skill grows.
- Use a sawtooth: climb, peak with a twist, then rest.
- Change one difficulty variable per step.
- Keep the cost of failure low early on.
- Diagnose teaching problems before changing numbers.
- Use adaptive difficulty cautiously, with small steps and limits.
Exercise
In your tutorial, 40% of players quit at the first jump-and-attack combination, which asks for a precise jump while an enemy approaches. Name two likely curve problems and one change for each.
Show answer
First, an early spike: two variables rose at once, execution (precise jump) and pressure (an approaching enemy). Split them by practicing the jump with no enemy, then adding the enemy once the jump is reliable. Second, a high cost of failure: if dying sends players back far, add a checkpoint just before this section and make respawn instant. You should also check feedback first. If players cannot tell why the jump failed, improve that before lowering the numbers.