Sub topic 8
Risk and Reward: Comparing Safe and Gambling Options
Assume you already understand player goals, resources, and trade-offs. This chapter uses basic probability and expected value. Probability is the chance that an outcome occurs. Expected value is the average payoff a player would receive over many repetitions.
A higher average is not always better
A safe option gives a predictable result. A gambling option gives different possible results, each with a probability. Designers use gambling options to create tension, but the player should still have a reasoned choice.
Consider these two healing items:
| Option | Outcomes | Expected value | Main feature |
|---|---|---|---|
| Safe tonic | 10 health, 100% chance | 10 | Reliable recovery |
| Risky elixir | 25 health, 50% chance; 0 health, 50% chance | 12.5 | Higher average, uncertain result |
The risky elixir has the higher expected value:
def expected_value(outcomes):
"""outcomes is a list of (probability, payoff) pairs."""
return sum(probability * payoff for probability, payoff in outcomes)
safe = [(1.0, 10)]
risky = [(0.5, 25), (0.5, 0)]
print(expected_value(safe)) # 10.0
print(expected_value(risky)) # 12.5Expected value does not settle the decision. A player with 20 health who expects a powerful attack may prefer the safe tonic. A player at full health who wants to prepare for a difficult boss may prefer the risky elixir. The same options can produce different choices because the player's situation changes the value of failure.
Model the player's decision
A useful risk model has four parts:
- Reward: What does success provide?
- Cost: What does failure remove?
- Probability: How likely is each outcome?
- Timing: When will the player learn the result, and can they recover?
Risk becomes more attractive when the reward solves an urgent problem. It becomes less attractive when failure is permanent, expensive, or likely to prevent progress.
The diagram below shows how the same gamble can produce different decisions.
Keep uncertainty different from arbitrariness
Uncertainty means the player lacks complete knowledge. The game can still provide clues. For example, a scouting ability might reveal that a treasure chest has a “high chance” of containing a rare item. The player does not know the exact result, but can compare the risk with the possible reward.
A gamble feels unfair when:
- The probability is hidden even though it affects the decision.
- The failure cost appears only after commitment.
- The game changes the odds without communicating that change.
- The reward is too small to justify the possible loss.
- Players cannot tell whether their choice or random chance caused the result.
You do not need to show exact percentages in every game. Descriptive signals such as “low,” “even,” and “high” can work if they are consistent. Players need enough information to form a useful expectation.
Tune risk with player control
Risk is more satisfying when players can manage it. They might spend a resource to improve the odds, gather information before deciding, or create a checkpoint that limits the cost of failure. These systems turn gambling into planning.
Avoid making every risky option mathematically optimal. If the gamble always has the best expected value and no meaningful downside, it becomes a dominant strategy. If it is always worse than the safe option, players will ignore it. The goal is to make the better option depend on context.
Exercise
A safe action gives 8 points for certain. A risky action gives 20 points with a 50% chance and 0 points otherwise. Which action has the higher expected value, and what additional information does a player need before choosing?
Show answer
The risky action has an expected value of 10 points, compared with 8 for the safe action. The player also needs to know the cost of failure, the time available, the chance to recover, and how much the current situation depends on a reliable result.