Sub topic 10
When loops compete: dominance and shifting control
This chapter assumes you can tell a reinforcing (positive) loop from a balancing (negative) loop. It also assumes you know what a stock and a flow are, and can read a causal loop diagram. The Python examples need only basic loops and functions.
Real games rarely contain one loop. A strategy game has an economy that compounds, an upkeep cost that grows with size, and a catch-up rule for losing players, all running at once. This chapter covers which loop wins at a given moment, why that changes during a match, and how to find the point where control passes from one loop to another.
What "dominance" means
A loop is dominant when it contributes more to the change in a stock than any other loop. The dominant loop sets the visible behavior of the game at that moment. If a reinforcing loop dominates, the stock accelerates away from where it started. If a balancing loop dominates, the stock bends toward a target.
Dominance is not a fixed property of a loop. It depends on three things:
- Loop strength. The gain or rate constant: 10% interest, a 25% correction, a catch-up bonus.
- The current stock levels. Many loops scale with the stock itself, or with a gap between stocks.
- Time. Stocks change, so the balance of influence changes with them.
So "this game snowballs" is an incomplete claim. A better version is "this game snowballs until turn 12, then settles". Dominance is a statement about a phase of play.
Three patterns of competition
Two loops acting on the same stock can combine in a few ways. These are the patterns you will see most.
| Pattern | What happens | Typical result | Example |
|---|---|---|---|
| Reinforcing always wins | Growth outpaces any correction | Runaway leader, short matches | Compounding income with no upkeep |
| Balancing always wins | Corrections cancel any advantage | Stalemate, outcomes feel unearned | A catch-up bonus stronger than the growth rate |
| Shifting dominance | Reinforcing wins first, balancing wins later (or the reverse) | S-curve growth, comebacks, tension | Economy growth limited by upkeep |
Shifting dominance is what most designers want. It lets early choices matter without letting them decide the match.
A knife-edge you can compute
The third example from the topic plan puts a reinforcing loop and a balancing loop on the same two-player race. Both players grow by 10% per round. The player behind also receives a bonus equal to catch_up times the distance to the leader.
def final_gap(rounds, catch_up):
scores = [12.0, 10.0] # player A leads by 2
for _ in range(rounds):
lead = max(scores)
# reinforcing growth of 10% plus a balancing bonus proportional to distance behind the leader
scores = [s + 0.10 * s + catch_up * (lead - s) for s in scores]
return scores[0] - scores[1]
for c in (0.0, 0.1, 0.3):
print(c, round(final_gap(10, c), 2))The output is:
0.0 5.19
0.1 2.0
0.3 0.21You can predict these numbers without running the code. The leader gets only the 10% growth. The trailer gets 10% growth plus catch_up times the gap. Subtracting, the gap each round becomes:
new_gap = (1 + growth - catch_up) * old_gapWith a growth rate of 0.10, the multiplier is 1.1 - catch_up. Ten rounds from a gap of 2 gives these results:
| catch_up | Multiplier per round | Gap after 10 rounds | Dominant loop |
|---|---|---|---|
| 0.0 | 1.1 | 5.19 | Reinforcing |
| 0.1 | 1.0 | 2.0 | Neither (tie) |
| 0.3 | 0.8 | 0.21 | Balancing |
The tie sits exactly where the catch-up strength equals the growth rate. This is the threshold between loop regimes. Below it, the gap widens and the game snowballs. Above it, the gap closes and the game converges. At the threshold, the early lead is permanent but does not grow.
Dominance that shifts with stock level
The race above has a fixed winner because both loops scale with the same quantity. A more common case has loops that scale differently, so the crossover happens as the stock grows.
Consider an economy where income compounds (reinforcing) but upkeep grows with the square of the stock, because larger empires cost more to maintain per unit (balancing). The change per turn is rate * g - upkeep * g * g.
def economy(turns, rate=0.30, upkeep=0.003, start=5.0):
gold = start
history = [gold]
for _ in range(turns):
gold += rate * gold - upkeep * gold * gold
history.append(gold)
return history
history = economy(40)
gains = [b - a for a, b in zip(history, history[1:])]
peak_turn = gains.index(max(gains)) + 1
print(peak_turn, round(history[peak_turn], 1))This prints 12 60.2. Read it as follows:
- Early on, the
rate * gterm is much larger than the upkeep term. The stock grows faster every turn, which is reinforcing behavior. - Around turn 12, with the stock near 60, the gain per turn stops rising and starts falling. The upkeep term has grown enough to change how the stock behaves, even though income is still larger than upkeep.
- The stock then levels off near 100, where the two terms are equal and net growth is zero.
The gain peaks when the stock is at about half the final level (the analytic peak is at 50). Because the model steps in whole turns, the printed turn is a little past that. Two points follow:
- Behavior changes before the loops are equal. The reinforcing loop remains the larger term until the stock reaches 100, yet from about turn 12 the game stops accelerating.
- The equilibrium (
rate / upkeep= 100) is a property of the ratio of the two parameters. Doubling both leaves the equilibrium unchanged but changes how fast you reach it.
Finding the crossover in your own game
You can locate dominance shifts with a short procedure:
- List every flow into and out of the stock you care about.
- Mark each flow as reinforcing (it grows with the stock or with your lead) or balancing (it shrinks as the stock approaches a target or the gap closes).
- Write each flow as a formula in the stock level, even a rough one.
- Compare the formulas at several stock levels: early, middle, late.
- Note where the order of magnitudes changes. That is the crossover, and it is the moment players feel the game change character.
Telemetry or a simulation gives you the same information. Log the contribution of each flow per turn and see which one is largest.
Gotchas and failure modes
Crossover that arrives too late. If the balancing loop only takes over at a stock level that matches rarely reach, it never matters. The game plays as a pure snowball. Check that the crossover falls inside the range of values that real matches reach.
Crossover that arrives too early. If control shifts in the first few turns, early decisions carry almost no weight. Players feel that nothing they do changes the result.
Overshoot from strong corrections. In the race model, a catch-up value above 1.1 makes the multiplier negative. The trailer overtakes the leader each round, and the leader changes every round. Strong balancing loops combined with the delays covered in a later chapter produce this kind of oscillation.
Loops on different stocks. Dominance only makes sense when loops act on the same stock. If an economy loop acts on gold and a catch-up rule acts on victory points, they interact through other variables. Trace the path in a causal loop diagram before you compare strengths.
Hidden loops. Players adapt. If they learn that falling behind brings a bonus, they may deliberately lag. The player's behavior becomes another link in the loop and can reverse the effect you intended.
Summary of the working model
- Dominance describes which loop contributes most to a stock's change at a given moment.
- Loop strength, stock level, and time all affect dominance.
- Shifting dominance produces S-curves and comebacks, and it is the usual design target.
- When both loops scale with the same gap, the threshold is where the strengths match, as with the 0.1 value above.
- When loops scale differently, find the crossover by comparing flow formulas at several stock levels.
Exercise
In finalgap, change the growth rate from 0.10 to 0.20 (replace both uses of 0.10 in the update line with 0.20). What catchup value gives a constant gap of 2.0 after 10 rounds, and what is the gap after 10 rounds when catch_up is 0.0?
Show answer
The gap multiplier per round is 1 + growth - catchup, which is 1.2 - catchup. A constant gap needs a multiplier of 1, so catchup = 0.2. With catchup = 0.0 the multiplier is 1.2, so the gap after 10 rounds is 2 * 1.2^10, which is about 12.38. The threshold moves up with the growth rate, so a catch-up bonus that balanced the game before is now too weak.
Exercise
In the economy example, you change upkeep from 0.003 to 0.006 and leave rate at 0.30. Where does the stock level off, and does the peak gain happen earlier or later in the match?
Show answer
The stock levels off where rate g equals upkeep g * g, so g = rate / upkeep = 0.30 / 0.006 = 50. The peak gain occurs at about half the equilibrium, near 25, which the stock reaches sooner than it reached 50 before. So the balancing loop takes control earlier and the game flattens out at a lower stock level.
Exercise
A designer says, "Our game has a strong catch-up loop, so it can't snowball." Give one reason this claim may be wrong, using the idea of dominance.
Show answer
Dominance depends on loop strength relative to the reinforcing loop and on stock levels. If the reinforcing growth rate is larger than the catch-up strength, or if the catch-up bonus only activates beyond a gap that is rarely reached, the reinforcing loop still dominates and the game snowballs. The existence of a balancing loop does not decide the outcome. Its strength compared with the reinforcing loop does.