Sub topic 1
What a Cost Curve Is For
Prerequisites
This chapter assumes you know the following:
- Basic game design vocabulary: stats (attack, health, speed), resources (gold, mana, points), abilities, and tiers.
- Simple arithmetic and how to read a line graph.
- Short Python examples. The code here uses only functions, loops, and dictionaries.
You do not need statistics or game-balance experience. Later chapters introduce curve fitting and simulation from scratch.
The problem a cost curve solves
Suppose you are designing a card game. Every card has a cost in mana. A designer proposes three cards:
- Archer: 4 attack, 10 health, 1 speed, costs 10.
- Knight: 6 attack, 12 health, 2 speed, costs 20.
- Mage: 9 attack, 5 health, 3 speed, costs 20.
Is the Knight priced correctly compared with the Archer? Is the Mage a bargain? Without a method, you answer by gut feeling and fix mistakes after players complain. With ten cards, this works. With three hundred cards and four designers, it does not. Prices drift, and nobody can say why one card feels too strong.
A cost curve is a function that maps the power of a unit, item, or ability to its cost. You decide how much power each cost level should buy. Then you check every piece of content against that rule.
Power and cost are different things
Two quantities appear in every cost-curve discussion, and mixing them up is a common source of confusion.
- Power is how much a piece of content does for the player. It covers raw stats, abilities, and anything else that helps them win.
- Cost is what the player pays to get it. This might be mana, gold, supply, a draft pick, or an inventory slot.
The cost curve is the rule connecting them: cost = f(power). Designing a curve means choosing f. Measuring power is a separate job, which the next chapters cover.
The goals a cost curve serves
A cost curve is a tool, so judge it against the goals it supports. There are four main ones.
Fair trade-offs between options
If two items cost the same, a player should face a real choice between them. Neither should be strictly better. A cost curve makes this checkable. Two items on the same curve at the same cost should have equal power, even if that power takes different forms: one is tough, the other hits hard.
Meaningful cost
Cost only matters if it limits the player. If the best option is always the most expensive one, or always the cheapest, cost does no work. The curve's shape controls this. A steep curve makes high-end content expensive enough that players think twice. A flat curve makes it easy to stack the strongest options.
Consistent expectations
Players learn the rules of your game quickly. If 2 mana buys about 4 stat points in most cards, they will notice when a card breaks that pattern. A curve lets players read prices. They can estimate what an unfamiliar card does from its cost, and that makes the game easier to learn.
Scalable content production
A curve gives new designers, and your future self, a starting point. You can draft a new unit by choosing a target cost, working backward to a power budget, and then spending that budget on stats. Reviewers can then check a proposal against the curve instead of arguing from taste.
A worked example
The simplest curve is linear. Each unit of power costs the same amount. Here is a stat valuation and a curve in Python:
STAT_VALUE = {"attack": 2.0, "health": 0.5, "speed": 3.0}
def raw_power(stats):
return sum(STAT_VALUE[name] * amount for name, amount in stats.items())
def cost_from_power(power, scale=1.0, exponent=1.0):
return scale * power ** exponent
archer = {"attack": 4, "health": 10, "speed": 1}
knight = {"attack": 6, "health": 12, "speed": 2}
mage = {"attack": 9, "health": 5, "speed": 3}
for name, stats in (("Archer", archer), ("Knight", knight), ("Mage", mage)):
power = raw_power(stats)
print(name, power, round(cost_from_power(power), 1))The program prints:
Archer 16.0 16.0
Knight 24.0 24.0
Mage 29.5 29.5With scale=1.0 and exponent=1.0, cost simply equals power. A designer would then choose a scale that maps power onto the game's cost range, for example 0.6 so the Archer costs about 10. The important point is the process: stats become power, power becomes a target cost, and the target cost is compared with the cost printed on the card.
Now compare the proposed costs of 10, 20, and 20 with the curve's output. The Archer has 16 power for 10 cost, a ratio of 1.6. The Knight has 24 power for 20, a ratio of 1.2. The Mage has 29.5 for 20, a ratio of about 1.48. The Knight is the weakest deal under these valuations. Whether that means the Knight needs buffing or the valuations are wrong is a judgment call. The curve tells you where to look, not what to decide.
The shape of the curve is a design decision
The exponent in cost_from_power controls how the curve bends.
def cost_from_power(power, scale=1.0, exponent=1.3):
return scale * power ** exponent
for power in (10, 20, 40):
print(power, round(cost_from_power(power), 1))This prints approximately:
10 20.0
20 49.1
40 121.0With an exponent of 1.3, doubling power from 10 to 20 raises the cost by about 2.5 times. Doubling again raises it by about 2.5 times more. Strong content is disproportionately expensive. Chapter 5 covers when you want this and when you want the opposite, diminishing returns, where the last points of power are cheap.
For now, remember the central idea: the curve is not a fact about your game. It is a choice. A linear curve says that one big unit and two small units of equal total power are equivalent. A steep curve says that one big unit is worth more than two small ones, which usually reflects that concentrated power is harder to answer. Your game's rules decide which is right.
Common errors at this stage
Several mistakes show up in almost every first attempt at a cost curve.
- Treating the curve as truth. The curve is a model of value. If the game plays differently from the model, change the model or the game. Do not defend the model.
- Valuing stats by their number. Ten health and ten attack are not equal. Their values depend on the game's rules: how much damage comes in, how long fights last, and how often units die in one hit.
- Forgetting that the player's budget is the real limit. A curve that never forces a choice does no balancing work, even if it is internally consistent.
- Using one curve for everything. Units, items, and abilities often need separate curves, or at least different scale factors, because they are used at different rates and in different contexts.
- Skipping validation. A curve that looks tidy on paper can still produce a dominant strategy. Chapter 13 covers simulation and playtests.
What a cost curve does not do
It is worth setting expectations early. A cost curve tells you whether a single piece of content is priced consistently. It does not tell you the following:
- Whether two cards combine into something too strong (synergy).
- Whether one unit beats another by type (counters).
- Whether a unit is strong in one map or mode and weak in another (context).
- Whether the game is fun.
Each of these gets its own treatment later in the tutorial. The final chapter returns to them together as the limits of the method. Even so, a cost curve is a good first line of defense. It catches the largest errors cheaply, so playtesting time goes to the problems only a person can find.
Where this tutorial goes next
The rest of the tutorial builds the method in order:
- A common currency and a value for each stat.
- A linear baseline, then superlinear and diminishing-returns shapes.
- An efficiency ratio for spotting outliers.
- Ways to combine several stats and to price abilities, including probability, uptime, and drawbacks.
- Synergies, breakpoints, and tiers.
- Fitting a curve to existing content, validating it, and recognizing where it fails.
Exercise
A designer says, "Our Knight costs 20 and has 24 power, and our Archer costs 10 and has 16 power. Both are on the curve because cost is proportional to power." Using a linear curve, is that statement correct? What would you check next?
Show answer
No. Under a linear curve where cost is proportional to power, the cost-to-power ratio must be the same for every unit. The Knight's ratio is 20/24 ≈ 0.83 cost per power. The Archer's is 10/16 = 0.625. The Knight is more expensive per point of power, so the two are not on the same linear curve. Next, check whether the stat valuations are right. If they are, either the Knight is overpriced or the Archer is a bargain. If the designer intends high-end units to cost disproportionately more, a superlinear curve with an exponent above 1.0 could explain the difference, but that must be a deliberate choice and not an accident.
Exercise
Name two balance goals a cost curve supports and one thing it cannot tell you about a card.
Show answer
It supports fair trade-offs between options at the same cost, and consistent expectations for players who learn what a given cost buys. It also supports meaningful cost and faster content production. A cost curve cannot tell you whether a card is too strong in combination with other cards (synergy), whether it counters or is countered by a particular unit, or whether it is fun to play.