Sub topic 3
Opportunity Cost: What You Give Up
Assume you already know basic game design terms such as mechanics, resources, and player goals. This chapter focuses on how to use opportunity cost to make choices matter.
The working model
Opportunity cost is the value of the best alternative a player gives up when choosing an option. It is not only the price shown in a menu. It includes the other action, resource, position, or future possibility that the player can no longer take.
Suppose a player has one action before nightfall. They can:
- Gather food, which prevents hunger.
- Repair a shelter, which improves safety.
- Explore a cave, which may reveal a powerful item.
Choosing one action makes the others unavailable for that turn. The opportunity cost of gathering food is the most valuable result the player could have received from repairing the shelter or exploring the cave.
A choice has stronger opportunity cost when the alternatives are both valuable and mutually exclusive.
Finding the competing axes
A trade-off has competing axes when options provide different kinds of value. Common axes include:
| Option | Immediate power | Long-term value | Information | Risk |
|---|---|---|---|---|
| Buy armor | High | Medium | Low | Low |
| Buy a map | Low | High | High | Low |
| Enter the ruins | Variable | High | High | High |
These options do not have one obvious winner. Armor helps now, a map improves later decisions, and the ruins may provide the greatest reward but can also cause a loss.
When designing a choice, list what each option gives and what it prevents. Then ask whether the player’s current goal changes the ranking. A wounded player may value armor more than a map. A player who is already safe may prefer information.
Scarcity makes the cost real
Opportunity cost requires scarcity. Scarcity means the player has less of something than they could use. The scarce item might be time, energy, money, inventory space, actions, or attention.
If a game lets the player buy every upgrade and complete every activity, choosing one upgrade may have little meaning. If the player has only 100 coins, buying a sword means giving up a potion or a faster travel route. The limited resource creates a reason to compare the options.
A useful design rule is to make the scarce resource important without making it confusing. The player should understand what is limited and when it will be replenished.
A practical comparison
You can represent a choice as a set of measurable outcomes. This does not replace playtesting, but it can expose weak choices.
from dataclasses import dataclass
@dataclass(frozen=True)
class Option:
name: str
power: int
future_value: int
def opportunity_cost(chosen, alternatives):
best_alternative = max(
alternatives,
key=lambda option: option.power + option.future_value
)
return best_alternative.name, best_alternative.power + best_alternative.future_value
options = [
Option("Armor", power=8, future_value=2),
Option("Map", power=2, future_value=9),
Option("Potion", power=5, future_value=3),
]
chosen = options[0]
rejected = [option for option in options if option is not chosen]
print(opportunity_cost(chosen, rejected))
# ('Map', 11)Here, the simple score says that choosing armor gives up the map, whose combined value is highest. In a real game, the player may value survival, exploration, or story progress differently. Treat the score as a diagnostic, not as an objective truth.
Designing useful costs
A strong opportunity cost meets three conditions:
- The rejected option supports a real player goal.
- The player can understand the difference between the options.
- The choice changes future play instead of only changing a number briefly.
If one option is always better, the choice becomes cosmetic. If the alternatives are equally good in every situation, the choice may feel arbitrary. Design situations where different player goals make different options attractive.
Exercise
A player can spend five minutes gathering healing herbs or scouting an enemy camp. The herbs are useful now, while scouting reveals a safe route for the next three encounters. What is the opportunity cost of scouting, and what game state would make that cost acceptable?
Show answer
The opportunity cost is the immediate healing that gathering would provide. Scouting is acceptable when the player has enough health to survive the current danger and expects the safe route to prevent greater damage later.