Sub topic 9
Choosing the Stakes: What Failure Takes Away
This chapter assumes you understand a game’s core loop, basic conditionals and functions, and common game genres. It focuses on stakes, meaning the consequences attached to failure. Good stakes create tension without making every mistake feel like lost time.
Failure is a design choice
A failure state answers this question: What changes when the player does not achieve the immediate goal?
Possible consequences include:
- Losing health or resources.
- Returning to a checkpoint.
- Losing progress within the current attempt.
- Increasing danger in the next attempt.
- Ending the run.
- Ending the entire game.
These consequences are different from the lose condition itself. A lose condition might be “the player has no lives left.” The stake is what each death removes on the way to that condition.
A useful design separates three levels:
- Mistake: The player makes a bad choice or misses a challenge.
- Fail state: The game records the setback but allows recovery.
- Lose state: The current objective, run, or match ends.
For example, in a platform game, falling into a pit can remove one life and return the player to a checkpoint. That death is a fail state. When the last life is removed, the run reaches a lose state.
Choose what failure removes
The best cost matches the type of decision the player is making. A short tactical mistake usually deserves a small, readable cost. A major strategic failure can justify a larger cost.
| Failure cost | What it removes | Best fit | Main risk |
|---|---|---|---|
| Health or energy | Immediate safety | Action challenges | Repeated damage can feel unavoidable |
| Consumable resources | Future options | Strategy and survival games | Players may hoard resources |
| Position | Recent movement or territory | Exploration and platforming | Long walks can become tedious |
| Temporary progress | Work within the current attempt | Roguelikes and missions | Players may feel the run was wasted |
| Permanent progress | Unlocks, items, or narrative state | High-stakes systems | Mistakes can become demoralizing |
| The run or match | The current complete attempt | Competitive and challenge games | Restart cost may be too high |
Avoid taking away progress that the player cannot understand or influence. If a trap kills the player without warning, losing twenty minutes of progress feels arbitrary rather than challenging.
Use stakes to shape player behavior
A consequence teaches players what the game values. If using a healing item has no downside, players may use it whenever health drops slightly. If healing items are scarce and death returns the player to a checkpoint, players must decide when recovery is worth the cost.
This creates a tension between immediate safety and future flexibility. The decision is interesting only when the player has enough information to judge it.
Ask these questions when selecting a stake:
- What behavior should this consequence encourage?
- How often will the player encounter it?
- Can the player predict or avoid it?
- How long does recovery take?
- Does the player retain useful knowledge after failing?
- Does the cost affect skill, planning, time, or only repetition?
A fair stake usually changes the next decision without erasing the player’s learning. Replaying a short section can reinforce mastery. Replaying a long unskippable sequence usually adds delay instead.
from enum import Enum, auto
class Outcome(Enum):
PLAYING = auto()
RETRY = auto()
LOST = auto()
class Run:
def __init__(self, lives, checkpoint):
self.lives = lives
self.checkpoint = checkpoint
self.position = checkpoint
def on_player_death(self):
self.lives -= 1
if self.lives <= 0:
return Outcome.LOST
self.position = self.checkpoint
return Outcome.RETRY
run = Run(lives=3, checkpoint="bridge")
run.position = "cave"
print(run.on_player_death())
print(run.lives)
print(run.position)The example makes the persistence rule explicit. A death removes one life. While lives remain, the player returns to the checkpoint. When lives reach zero, the run ends. In a real game, RETRY might transition to a respawn screen rather than immediately resuming play.
Decide what persists
Persistence determines whether failure changes only the present attempt or also future attempts.
- Attempt-only stakes reset after a restart. They create pressure without long-term damage.
- Run-level stakes persist until the player completes or abandons a run. They support tension and resource management.
- Profile-level stakes persist across runs. They can make choices feel meaningful, but they need strong warnings and recovery options.
Permanent loss is especially dangerous when players can misunderstand the rule. Show the cost before the irreversible action, and avoid combining permanent loss with hidden information.
Balance cost and recovery
A simple way to tune a stake is to compare its cost with the player’s expected learning:
- If the player learns something new, a longer retry may be acceptable.
- If the failure resulted from unclear feedback, reduce the cost.
- If skilled players fail rarely, a larger cost may create useful tension.
- If beginners fail constantly, preserve checkpoints, knowledge, or equipment.
Playtesters should be able to explain both why they failed and what they will change next. If they can explain the failure but refuse to retry, the cost is probably too high.
Exercise
A player loses all collected coins after touching an unseen hazard, then must repeat ten minutes of exploration. What should you test first?
Show answer
Test whether the hazard was readable and whether the recovery cost is too large. Improve warning and shorten the repeated section before increasing the player’s skill requirement.