Sub topic 8
Push-your-luck mechanics and stopping rules
Assume you know basic probability, dice odds, and how to read short Python examples. This chapter focuses on how a player decides whether to continue a risky action or secure the reward already earned.
A push-your-luck mechanic gives the player repeated chances to increase a temporary reward. Continuing usually improves the possible payoff, but a failure can remove some or all of the reward. The player chooses when to stop. That stopping decision creates agency inside a random system.
The basic loop
A simple push-your-luck turn has four parts:
- Start with a temporary pot of points, money, cards, or another reward.
- Choose whether to stop or take another risk.
- If the action succeeds, increase the pot and decide again.
- If the action fails, apply the penalty and end the turn.
For example, a player rolls a six-sided die. Rolls from 2 to 6 add their face value to the pot. A roll of 1 loses the entire pot. The player can stop after any successful roll.
The reward is temporary until the player banks it. Banking means converting the temporary reward into a protected reward.
| Decision | Immediate benefit | Possible cost |
|---|---|---|
| Bank now | Keep the current pot | Give up future growth |
| Continue | Increase the possible reward | Lose the pot on failure |
The interesting choice depends on the current pot. A player with 3 points may accept more danger because the gain is valuable relative to the stake. A player with 30 points may stop because losing everything would be painful.
Stopping rules
A stopping rule is the condition that tells the player when to bank. Common rules include:
- Stop when the pot reaches a fixed threshold.
- Stop after a certain number of successful actions.
- Stop when the next reward is smaller than the current stake.
- Stop when the player has enough points to meet a changing objective.
- Continue until a timer or opponent forces the decision.
A fixed threshold is easy to understand and tune. However, the best threshold may change during a match. If the player is far behind, a high-risk choice may be reasonable. If the player is leading, protecting a moderate score may be better.
A useful design question is whether continuing should be mathematically attractive, psychologically attractive, or both. If continuing always has the highest average value, cautious players may feel irrational for stopping. If stopping is always best, the mechanic becomes decoration.
Simulating thresholds
Simulation estimates how different stopping rules behave over many turns. The following program compares thresholds in the dice game:
import random
def play_turn(threshold, rng):
pot = 0
while pot < threshold:
roll = rng.randint(1, 6)
if roll == 1:
return 0
pot += roll
return pot
def average_score(threshold, turns=100_000, seed=1):
rng = random.Random(seed)
total = sum(play_turn(threshold, rng) for _ in range(turns))
return total / turns
for threshold in (5, 10, 20, 40):
score = average_score(threshold)
print(threshold, round(score, 2))A lower threshold banks smaller rewards more often. A higher threshold creates larger wins but also gives the die more opportunities to produce a 1. The best threshold depends on the failure penalty, reward size, and the game objective.
Tuning the stopping decision
Test several thresholds with the same random seed and compare average score, win rate, and the number of failed turns. Then run human playtests. Players may stop earlier than the mathematical average suggests because losing a visible pot feels worse than missing a possible gain.
Also test catch-up conditions. A trailing player may need a reason to continue, while a leading player may need a reason to stop. If one threshold dominates in every situation, the mechanic offers little decision-making.
Exercise
A player has banked 8 points and can either stop or continue. Continuing gives a 50% chance of gaining 6 points and a 50% chance of losing the 8-point pot. What is the expected value of continuing relative to stopping?
Show answer
Continuing has an expected result of (0.5 × 6) + (0.5 × -8) = -1 point, while stopping protects 8 points. Under these values, stopping is the stronger choice.