Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
Game designNovember 22, 20266 min read

How to Design a Difficulty Curve

A good difficulty curve is a sawtooth, not a ramp. Here is how to shape it, which numbers to turn, and when adaptive difficulty helps or hurts.

Startbase Team
Editorial ink illustration of a mountain trail with switchbacks and rest benches, the hiker's lantern in ember orange

Key takeaways

  • Aim for flow: challenge that rises just ahead of skill. Too far ahead is frustration, too far behind is boredom.
  • Shape difficulty as a sawtooth: a spike when something new arrives, then a dip while the player masters it.
  • Change one variable at a time (speed, count, timing window, space) and know which one each level is turning.
  • Adaptive difficulty works best when players never notice it. Assist options work best when they choose them.

A difficulty curve describes how hard a game feels over time compared with how skilled the player has become. The goal is to keep challenge slightly ahead of skill, so the player is always stretching but rarely stuck. The best curves are not straight ramps: they rise in steps, with a spike whenever something new appears and a rest while the player masters it, and the overall trend climbs slowly enough that the player's skill keeps up.

The flow channel

Psychologist Mihaly Csikszentmihalyi described flow as the state of complete absorption that happens when a task's challenge matches a person's skill. Game designers borrowed the idea as the "flow channel": picture a graph with skill on one axis and challenge on the other. Above the channel is anxiety (too hard). Below it is boredom (too easy). Your job is to keep the player inside the band as both lines rise.

Two consequences matter in practice. First, skill grows fastest early, so early difficulty can rise quickly as long as it starts low. Second, different players have different channels. A curve tuned for you, after hundreds of hours of testing, sits far above the channel of a new player. Always tune for the newcomer and add optional challenge for experts.

Why the sawtooth beats the ramp

A smooth ramp sounds ideal but feels monotonous: every level is a little harder than the last, and the player never gets to enjoy their new skill. A sawtooth works better:

  • Spike: a new enemy, mechanic or world arrives. Difficulty jumps because the player has not learned it.
  • Descent: as they master it, the same content feels easier. The next few levels use it at a comfortable level, which feels like power.
  • Climb: combinations and variations push difficulty up again until the next new element.
  • Rest: after a boss or a hard set, drop to an easy level. The player feels how much better they have become.

Many classic games follow this rhythm per world: a gentle first level that introduces the world's theme, two or three that build, a hard one, then a boss, then a much easier start to the next world. The overall trend still climbs, but each world restarts the wave. The same pattern works inside a single level, as described in our level design basics. The puzzle game guide and the tower defense guide show this sawtooth in two very different genres.

The variables you can turn

Difficulty is not one number. It is the sum of several levers, and a good curve turns one or two at a time so players can tell what changed. The common ones:

  • Speed: how fast enemies, obstacles or the scroll move. In an endless runner, speed is usually the main lever, rising perhaps 1 to 3 percent every few seconds up to a cap.
  • Count: how many enemies, projectiles or simultaneous threats. Going from one to two threats is a much bigger jump than from five to six.
  • Timing windows: how precise an input must be. A rhythm game might widen its "good" window to 120 milliseconds on easy and narrow it to 50 on hard.
  • Space: room to maneuver. Narrower platforms, smaller safe zones, less time to read a pattern.
  • Information: how much warning players get. Long telegraphs on early enemies, shorter on later ones.
  • Resources: health, ammo, time and checkpoints. Fewer resources raise the cost of mistakes without changing the action.
  • Cognitive load: the number of rules to hold in mind at once. Puzzle games mostly turn this lever.

Tip

Raising the cost of failure feels harder than raising the challenge. Taking away a checkpoint can make a level feel twice as hard with no change to the obstacles. Use it deliberately and sparingly.

Write difficulty as a table, not as code

Keep your difficulty values in one data table that you can read and edit. For a wave-based game, each row might hold wave number, enemy types, count, spawn interval and enemy speed. For a puzzle game, each row is a level with its grid size, number of colors and move limit. Seeing the whole curve in one place reveals mistakes immediately: two big jumps in a row, a long flat stretch, a value that goes backward by accident.

Plot the table if you can. A quick chart of "threat per wave" makes the sawtooth visible, and the moments where it breaks shape stand out. When you build in Startbase, ask the agent to keep the table in its own file and expose the main multiplier as a dial in the Engine panel, so you can scale the whole curve while you play:

Move all wave difficulty into a data table in its own file: wave number, enemy types, count, spawn interval in seconds, enemy speed multiplier. Shape it as a sawtooth over 30 waves: each new enemy type arrives at a spike, the next 2 waves ease off, and every 5th wave is a boss followed by an easy wave. Add a global difficulty multiplier dial (0.5 to 1.5) in the Engine panel, and log the wave and time of every player death to the console so I can see where players fail.

Adaptive difficulty: when and how

Dynamic difficulty adjustment changes the challenge based on how the player is doing. Some well-known shooters quietly adjust enemy accuracy and item drops based on player performance, and a famous co-op zombie game used an "AI director" that watches player stress and decides when to send a horde or give a break. Done well, players never notice. Done badly, it feels like the game is cheating, in either direction.

Guidelines for adaptive systems in small games:

  • Adjust slowly: base it on the last several attempts, not the last one. A single bad run should not flip the game to easy.
  • Adjust hidden levers: drop rates, spawn timing and enemy aim are invisible. Visibly slowing enemies after a death is obvious and patronizing.
  • Cap the range: never go below a floor that keeps the game meaningful or above a ceiling that keeps it fair.
  • Do not punish skill: if a strong player gets a harder game with no extra reward, they learn to play badly on purpose.
  • Never in competitive modes: leaderboards and versus play need the same rules for everyone.

Assist modes and difficulty settings

The alternative to hidden adjustment is giving players the controls. A celebrated precision platformer offers an assist mode with sliders for game speed, invincibility and extra dashes, framed respectfully rather than as a "baby mode". This approach is honest, helps players with disabilities, and lets the default game stay as hard as the designer intended. If you add difficulty settings, describe each one by what it changes ("enemies deal half damage") rather than with vague labels, and let players change it at any time without restarting.

Reading the curve from playtests

You cannot judge your own curve, because you are the most skilled player your game will ever have. Use evidence instead:

  1. 01Death and retry counts per level. A level where players die ten times as often as its neighbors is a spike. Decide if it is intended.
  2. 02Where people quit. The level where most players stop is usually right after a spike with no rest, or right before one they can see coming.
  3. 03Time per level. Levels that take three times longer than planned often hide confusion rather than challenge.
  4. 04Comments while watching. "Oh, I get it" is a good spike. "What killed me?" is a bad one.

A shared preview link is the fastest way to collect this. Startbase's sharing previews let friends play before you publish, and logging deaths to the console gives you numbers to go with what you watched. The playtesting guide covers how to watch without helping, and app analytics setup covers simple counters.

Common difficulty mistakes

  • A hard first minute. First impressions decide whether people stay. Make the opening nearly impossible to fail.
  • Difficulty by surprise. Unseen hazards and instant deaths are not difficulty, they are memorization tests.
  • Flat endgames. If the last third uses only old content at slightly higher numbers, players feel the curve stall. Introduce one last twist.
  • Grinding as difficulty. Requiring repeated play of earlier levels to progress hides a curve problem behind a time sink.

Difficulty is a conversation with the player that you only get to hear through playtests. Shape it as a sawtooth, keep the numbers in one table, and keep listening. For how difficulty fits into the repeating structure of play, read our guide to the core game loop.

Frequently asked questions

What is a good difficulty curve?

One that keeps challenge slightly ahead of player skill, rising in waves: a spike when something new arrives, a dip as the player masters it, and an overall upward trend with regular rests after the hardest moments.

Should my game have adaptive difficulty?

It can help single-player games keep struggling players engaged, if it adjusts slowly, uses hidden levers like drop rates and stays within a fair range. Avoid it in competitive modes and prefer visible assist options when you can.

How do I find difficulty spikes in my game?

Track deaths, retries and quits per level, and watch new players without helping them. A level with far more deaths or quits than its neighbors is a spike; decide whether it is a deliberate peak or a mistake.

On this page

  • The flow channel
  • Why the sawtooth beats the ramp
  • The variables you can turn
  • Write difficulty as a table, not as code
  • Adaptive difficulty: when and how
  • Assist modes and difficulty settings
  • Reading the curve from playtests
  • Common difficulty mistakes

Keep reading

More in Game design
Editorial ink illustration of a toy hammer striking a bell on a spring, the impact spark in ember orange
Game designNovember 22, 2026

Game Feel: How to Make Your Game Feel Juicy

Juice is the layer of feedback that makes a tap feel like a punch. Here are the techniques, the timings that work, and how to keep it from drowning the game.

7 min read
Editorial ink illustration of a hand-drawn level map pinned to a desk, the goal flag in ember orange
Game designNovember 22, 2026

Level Design Basics for Your First Game

Good levels teach one idea, test it, then twist it. Here is a repeatable method for designing levels that pace well, read clearly and never feel unfair.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.