Sub topic 7
Shaping a core loop
This chapter assumes you have already written a player fantasy and chosen a small set of player verbs. If you haven't, go back to those chapters first. A core loop is built from verbs, and weak verbs produce a weak loop.
What a core loop is
A core loop is the short cycle of actions a player repeats most often. Each pass through the cycle gives the player a reason to start the next pass. Verbs are the individual actions. The loop is the order they happen in, plus what the game returns to the player after each one.
A loop has four parts:
- Input. The player gathers information and chooses an action.
- Action. The player spends something: a resource, time, position, or risk.
- Outcome. The game shows the result, which is the feedback.
- Reward and reset. The player gains something (resources, knowledge, progress) that changes the next input.
The last part is what makes it a loop and not a line. If the outcome doesn't change what the player faces next, you have a sequence of unrelated events.
Loops at different scales
Most games have loops nested at several time scales. You design the one players repeat most, but you need to know where the others sit.
| Scale | Typical length | Lighthouse example |
|---|---|---|
| Micro loop | Seconds | Adjust the lamp, watch a ship react |
| Core loop | One to five minutes | One night: observe, spend, see outcome, restock |
| Meta loop | One session or more | Five nights, with a growing record of who was saved |
For a concept document, name the core loop and say in one sentence what the meta loop adds. Don't design the meta loop in detail yet. If the core loop isn't engaging, nothing built on top of it will fix that.
Deriving the loop from verbs and pillars
Start from your verbs and ask three questions of each one.
- What does it cost? A verb with no cost is not a decision. If "light" is free, the player just always lights.
- What does it change? The game state must differ afterwards in a way the player can see.
- What does it feed? The result should alter the next input, or the loop will not close.
Then check the loop against your pillars. In Last Light, the pillar "Scarcity forces hard choices" requires that the spend step be limited. The pillar "Every decision has a visible human cost" requires that the outcome step show specific ships and people, not just a number going down. The pillar "Short, tense nights" caps how long one pass can last.
When a loop part has no pillar behind it, it is either decoration or a sign that a pillar is missing. Decide which.
A loop-writing template
Write the loop as a single sentence that names every part. The concept brief in the Topic Spine does this:
core_loop: Observe incoming ships, spend oil on the lamp, see who is saved, restock for the next night.Read it back and ask where each of the four parts is. "Observe" is the input, "spend oil" is the action, "see who is saved" is the outcome, and "restock" is the reward and reset. If you can't point to all four, rewrite the sentence until you can.
What makes a loop work
Intermediate designers usually get the structure right and miss the quality. Check these properties.
A real decision
A decision is real when at least two options are plausible and each has a different cost. Three failure patterns show up often:
- Dominant option. One choice is always best, so the player stops thinking.
- Hidden information that can't be learned. The player can't improve their guesses, so the choice feels random.
- No stakes. Every option costs about the same, so nothing is lost by choosing badly.
Legible feedback
The player must be able to connect their action to the outcome. If five things changed at once, they can't learn from the result. In the lighthouse, show which ships were saved because of how much oil was spent, and which were lost because the lamp was dimmed.
A pull to the next pass
Something unresolved should invite another pass. This might be a shortage the player wants to fix, a ship they want to save next time, or a pattern they have half understood. A loop that resolves everything leaves no reason to continue.
Sustainable variation
The same loop with the same inputs gets stale. Variation can come from random inputs (different ships each night), from growing pressure (less oil), or from new options. Pick a source on purpose, and make sure it supports the pillars. Random inputs alone create luck, not skill.
Testing a loop with a throwaway simulation
You can test a loop's numbers before you build anything. A short script that models the cost and reward steps can show whether the resource pressure is plausible. The Topic Spine includes a simulation of one night in the lighthouse:
import random
def play_night(oil, lamp_oil, rng):
ships = rng.randint(1, 4)
lamp_oil = min(lamp_oil, oil)
saved = min(ships, lamp_oil)
wrecked = ships - saved
oil = oil - lamp_oil + rng.randint(0, 2)
return oil, saved, wrecked
rng = random.Random(7)
oil = 5
for night in range(1, 6):
oil, saved, wrecked = play_night(oil, 2, rng)
print(f"Night {night}: oil={oil} saved={saved} wrecked={wrecked}")This run uses a fixed seed, so it prints the same five lines each time. Each night draws a number of ships, spends oil, and restocks a random amount. One run tells you little, so extend it to compare fixed strategies over many games:
import random
def play_night(oil, spend, rng):
ships = rng.randint(1, 4)
spend = min(spend, oil)
saved = min(ships, spend)
wrecked = ships - saved
oil = oil - spend + rng.randint(0, 2)
return oil, saved, wrecked
def play_game(spend, seed, nights=5, start_oil=5):
rng = random.Random(seed)
oil = start_oil
total_wrecked = 0
for _ in range(nights):
oil, saved, wrecked = play_night(oil, spend, rng)
total_wrecked += wrecked
return total_wrecked
for spend in (1, 2, 3):
results = [play_game(spend, seed) for seed in range(1000)]
average = sum(results) / len(results)
print(f"spend={spend} per night: average ships wrecked = {average:.2f}")Run it and compare the three averages. Look for these signals:
- If one fixed amount clearly beats the others every time, the choice is not hard, and the loop needs a cost that grows with the amount spent.
- If every strategy wrecks about the same number of ships, the player's choice does not matter, and the spend step needs more leverage.
- If the best amount sits in the middle and the extremes are bad, you have the beginning of a real tradeoff.
Common errors
Counting a feature list as a loop
"Explore, craft, fight, build, trade" is a list of activities. It does not say what the player does in order, what each costs, or what flows into the next. Pick the one cycle the player repeats most and describe that.
A loop with no spend
If the player only collects and never gives anything up, the game gives rewards without decisions. Add a cost, a trade-off, or a risk to the action step.
A reward that doesn't change the next input
If restocking oil returns the player to exactly the same position each night, the loop repeats without developing. Let outcomes carry over. For example, a saved ship might return later with supplies, and a wrecked one might leave debris that complicates the next night.
Too many loops at once
Several loops compete for the player's attention and make the concept hard to pitch. Start with one. Add a second only when you can say how it feeds the first.
Loop length that fights the audience
A ten-minute pass suits a long desktop session but not a mobile commuter. Check the loop length against the audience and platform you chose earlier.
A short checklist
Before you move on to checking mechanics against the theme, confirm that your loop:
- Fits in one sentence that names the input, action, outcome, and reward.
- Uses only verbs from your verb list.
- Has at least one decision with two plausible options and different costs.
- Shows the player a clear link between action and outcome.
- Feeds its result into the next pass.
- Has a length that fits the audience and platform.
- Can be checked on paper or in a short script before real production.
Exercise
A designer writes this loop for a farming game: "The player plants crops, waters crops, and harvests crops, and then the crops are harvested again the next day." Identify which loop parts are missing or weak, and rewrite the loop so it contains a real decision.
Show answer
The sentence lists activities but names no cost, no information the player uses to choose, and no outcome that changes the next pass, so there is no decision. A stronger version: "Check the weather forecast and soil, choose which of three crops to plant with limited seed and water, watch which crops thrive or fail, and spend the harvest income on next season's seed." This has an input (forecast and soil), an action with a cost (limited seed and water, so the player must choose), a visible outcome (thrive or fail), and a reward that changes the next pass (income and the leftover seed).
Exercise
In the extended simulation, you find that spending 3 oil every night always wrecks fewer ships than spending 1 or 2, across all seeds. What does this say about the loop, and what is one change you could test?
Show answer
It means the choice is dominated: the player should always spend as much as possible, so there is no real decision. Fix it by making the cost of spending bite, for example by lowering the restock so that heavy spending runs the oil out before night five, or by adding a benefit to saving oil (such as extra oil carried over). Then rerun the simulation and check that the best amount is no longer the largest one.