A puzzle is two rules in conflict
16 min read
By Eduardo Orellana ·
Every puzzle starts as rules the game will not bend. The puzzle is the moment those rules contradict the obvious plan.
Start from the contradiction
A puzzle begins as rules that will not bend for you. The obvious plan uses the rules in the ordinary way and fails. The solution is still the rules, used in the way the ordinary plan refused to imagine. If there is no contradiction, there is a task. Tasks can be pleasant. They are not puzzles.
The rest is choreography. You teach the rule in a room where the ordinary plan works, so the player trusts it. You then build the room where the trust is the trap. Order those rooms wrong and the contradiction arrives before the trust, which feels like nonsense rather than a joke. Order them right and the player scolds themselves, which is the sound of a fair puzzle. The layout, the red herring, the difficulty curve: all of them are servants of that one contradiction. If you cannot say it in a sentence, you do not have the puzzle yet. You have furniture.
Rules are the raw material
Every puzzle begins as a set of rules the game will not bend. Those rules are the raw material; the puzzle is what you build by pushing them against each other.
Puzzle games make an unusual offer. They will strand you, keep you stranded, and then hand you a moment where you feel unreasonably clever. Braid makes that offer with time travel. Portal makes it with spatial logic wrapped in comedy science fiction. Stephen's Sausage Roll makes it with a ridiculous cooking premise and movement rules that knot up the brain.
From outside, the craft looks like sorcery, partly because the finished article is so small. A door. A box. A button. A bridge, a clone, a few tiles. And still a player can lose ten minutes to it, because those few pieces have been set down in exactly one arrangement that reads clearly and resists solving. A room does not need a lot of parts. It needs the right ones.
So what is actually inside one of these things? Where does the line sit between too hard and too easy, and why does one room produce a clean click of understanding while the next feels like sanding a floor?
Start with the mechanics. Cosmic Express asks you to draw train track across a grid, and the track may never cross itself. One alien rides per car, and each alien gets off at the first box matching its color. Plain enough to say in a sentence, but the restrictions are where the puzzles live. Once track cannot overlap, a narrow gap turns into a real obstacle.
How much a central mechanic can carry usually determines how many rooms a game can support and how far their difficulty can climb. That is why the memorable ones tend to be strange: time travel, wormholes, movement that behaves unlike anything else. Snakebird is the clearest case. Each bird's body trails its head, gravity acts on it, and eating fruit makes it longer. Length is simultaneously the reward and the trap, and that single tension yields a lot of problems.
Temporary tools widen the space further. Portal layers light bridges, colored gels, and turrets over its portals. The Talos Principle assembles most of its rooms out of jammers, cubes, connectors, and repeaters. Once tools interact with each other, the count of possible puzzles rises fast.
Those tools still need edges. A bridge holds a player, stops a laser, or supports a cube. A connector carries one color of light and may require line of sight. A clone replays a recording that has a start and an end. The puzzle is the question of what those edges forbid, and the answer is the one unexpected route that stays inside them anyway.
Last, the game needs a goal: an exit, a collectible, some unmistakable endpoint. What matters is that you are never unsure what you are aiming at. Confusion about the objective is not difficulty. The live question is how, never what.
Building the contradiction
The engine of most good puzzles is a catch: two things the goal appears to require at once, which the rules say cannot both be true.
Take the oldest version there is. A button holds a door open while you stand on it, and the door is somewhere else. Walk to the door and the button releases; stay on the button and you never reach the door. Both actions are mandatory and each one cancels the other. Drop a box on the button and the knot unties. Elementary, but the shape is exactly right, and that shape is what makes a room interesting.
The Talos Principle stacks the same idea higher. Picture connectors carrying colored beams from orbs to panels, with panels opening the doors nearby. You experiment, and you end up spending two connectors to feed blue light into one panel and a third to feed red into another. The problem is that one of those connectors is also wanted on a pressure switch.
The natural plan is to run red light to a third panel, open a door with it, and use the new opening to deliver blue with a single connector rather than two. Then the catch shows its teeth: red cannot reach that third panel at all unless blue is already powering the first one. Pull either blue connector and the door slams, taking the whole plan with it.
That is the instant a task turns into a puzzle. The goal is visible, the pieces are understood, the solution feels one step away, and a rule sits squarely across the direct path. The room has manufactured a contradiction, and now it has to be undone.
Legibility is what makes the catch work. If you cannot tell why the obvious plan failed, you have nothing to reason from. You retry the same thing, decide the game is being finicky, or never notice the point at all. A good catch shows its impossibility plainly: that door closes when this connector moves, that creature reaches Lara before she can get back, that bird is now too long to turn. You do not know the answer, but you know precisely what is in the way.
Catches come apart in several ways. Sometimes the fix is reordering the events that produced the deadlock. Sometimes it is spatial, and you simply had to begin somewhere else. But the resolutions worth remembering do something narrower: they expose a consequence of the rules you had not thought to look for.
More on this: Super Mario 3D World's level design teaches in four beats
The moment the rules open up
A revelation is the answer that reveals something true about the system rather than something hidden in the level. It survives the room it appeared in, because it changes how you read every room after it.
In the Talos Principle example, the fix is to link one connector to the other and to the target panel while a shut door still stands between them. Later, when the red beam opens that door, the blue connection completes itself, and the second connector is free to be taken away.
Written down it is nothing, and executing it takes seconds, which is part of why it lands so well. The work was in realizing that a connection can be set up before the path physically exists. The room asked you to look sideways at a rule you thought you had finished learning.
That is the substance of a revelation. It surfaces a hidden but perfectly logical consequence of the rules, and from then on it belongs to you. The connector trick reappears inside bigger rooms later as one component of something more tangled.
Most eureka moments are made of this. You did not merely clear a level. You know the game better than you did sixty seconds ago.
Note the difference between a revelation and a secret. A secret can be arbitrary: click the invisible wall, stand on the one tile that looks like the others, guess what the designer had in mind. A revelation is fair because the rules already contained it. You held enough information; you had not yet turned it to the right angle. Afterward the room reads as nearly obvious, not because it was easy but because the logic now looks like the only possible logic.
Some of these are large. P.B. Winterbottom, a game about recording time-shifted clones, sets a problem where pies must be gathered in numerical order, except that grabbing the third one seals off the fourth. Everything hinges on noticing that a clone loops back to the start when its recording runs out. Begin the recording at pie four and the clone will be standing there again when the loop comes around.
Some are minuscule. A Snakebird room can turn on the fact that a bird changes shape and falls within the same turn, letting it land in a shape that keeps it clear of spikes. Barely a footnote, and it permanently alters how you read the movement rules.
The balance here is fragile. Thinking outside the box is fine as long as the answer still reads as a fair product of the rules; otherwise the player looks it up and thinks, I had no idea that was even allowed. Braid has a puzzle asking you to bounce an enemy off a clone's head so you can then bounce off that enemy and reach much greater height. In a game where stomping something launches you upward, it is consistent. Plenty of players still filed it under trick rather than revelation, not helped by there being a single moment in which the interaction could ever occur, which made trying things nearly pointless.
Experimentation is a large part of how a puzzle earns trust. Test an unlikely idea safely, watch the system answer, narrow the field, and the eventual leap feels earned. Hide the only test behind one exact timing window and the identical answer reads as a rule the designer kept to himself. The logic can be sound and the route to it still be wrong.
Lara Croft GO runs the catch-and-revelation pattern with unusual clarity. Certain tiles crack the first time Lara steps on them and give way the second, and you can kill lizards by walking them across a weakened tile. One room hands you a lizard where that habit gets Lara killed before she can get back. The catch is the lizard's speed. The revelation is to crack the tile in advance, draw the lizard in, and ride the collapse down to the floor below yourself.
Leading the player down the wrong path
A well-made room usually plants an assumption first: a plausible reading of the situation that the player adopts on their own and that turns out to be incomplete.
That Lara Croft GO puzzle has one. Before the lizard that matters, the room gives you an earlier lizard that the familiar crumbling-tile trick handles cleanly. That first lizard contributes nothing to the real solution; remove it and the puzzle still works. It exists so you will expect the same trick to work twice.
The moment that expectation breaks, you are standing in the actual puzzle. The room has walked you into the catch on purpose.
The technique is everywhere in strong design. Stephen's Sausage Roll asks you to roll sausages across grills until both sides are cooked, with movement rules odd enough that a tiny layout goes deep. In the stage called The Clover, the obvious move is to roll each of three sausages to its nearest grill and be done, which works right up until you notice you can no longer maneuver onto the exit.
The false path is not a prank on the player. It is load-bearing.
It works precisely because it is reasonable. Nothing random is being asked of you. The first lizard genuinely does fall to the obvious trick. The nearest grills in The Clover genuinely do look like the right destinations. The left fruit in Snakebird genuinely does look like the way to gain the length you need for the fruit below. You are not misled by bad information; you are led by a sensible reading with a piece missing.
The first thing it buys is a place to begin. A room where every option is live at once is paralyzing. Believing you know the opening move gets you handling the pieces instead of standing still.
The second is education. Chasing the wrong solution means moving objects, testing rules, and assembling a model of the space, and none of that knowledge evaporates when the plan collapses.
The third is protection against accidents. Without the assumption, players wander into correct answers, and the puzzle never gets to feel like a puzzle. The misdirection creates the stumped feeling without withholding anything.
The fourth is focus. The Talos Principle room is not really about the collectible. It is about getting two doors open simultaneously. A good assumption aims the player straight at the contradiction the designer wants them staring at.
Snakebird's tenth level fuses all three parts. Two fruits, and the bird is too short for the lower one, so of course you eat the left fruit first, gain length, drop down, take the bottom fruit, turn around, and climb back out. The catch: with the extra length, turning around is no longer possible. Too short or too long, never both right. Getting out requires rereading the movement rules from a fresh angle, and the final move teaches something you will use for the rest of the game.
How the room is laid out
Layout decides how hard a puzzle feels. Identical logic can read as elegant or as trivial depending on what the player sees first and how clearly the room reports its own state.
Portal 2 has a room where a laser powers an elevator and a button opens the exit. The first instinct is to free the laser and then drop a cube on the button, which fails because the elevator leaves without you. The catch is that one cube has two jobs: weighing the button and briefly interrupting the laser.
What works is setting the cube on a light bridge so it blocks the beam, boarding the elevator, then dissolving the bridge. The cube drops, the laser is released, and the cube lands on the button, so the elevator rises and the exit opens together. The revelation is that gravity lets you move an object from across the room.
The Turing Test contains nearly the same idea and is far easier, purely because of presentation. Its bridge already sits over the button, so all that remains is removing it, and the button's relationship to the doors reads at a glance. Portal 2 makes you create and destroy the bridge, hold the laser and the button in mind at once, and get the cube where it needs to be. Two rooms, one concept, very different challenges.
None of which argues for hiding everything. Portal 2 is generous with clues. The cube starts in front of the laser, so you learn it blocks beams. The one portalable wall puts a bridge over the button. The bridge is semi-transparent, so the button stays visible underneath. The room is not being unfair; it is leaving you a job.
Layout is design work, not dressing. Shift a bridge a little, change the first thing in view, place a button beneath a transparent surface, make a connection line easier to trace, and the difficulty moves without a single rule changing. On paper the logic is untouched. In play, the order of noticing is the experience.
Fewer parts is usually better. The finest rooms have so little in them that their difficulty is faintly absurd. A crowded room is either genuinely overcomplicated or padded with objects outside the core problem, and padding becomes drudgery fast once the level needs resetting.
Feedback carries equal weight. Portal runs lines from buttons to doors and changes their state when power flows, so the wiring is never a mystery. Working out which switch talks to which door is not a puzzle when the game could simply have said so.
Feedback matters most when a false assumption is doing the work. Rise of the Tomb Raider has Lara raise a platform and sprint for the exit, only for it to fall before she arrives. The room must never suggest that a little more speed would have done it. The platform sits far enough off that the failure is visibly absolute, which is what tells the player to drop the idea and think again.
Presentation, in the end, protects the player from doubting the wrong thing. Doubt the plan, never the controls, the timing, the hitbox, or the interface. If a route is meant to be impossible, it should look impossible. If two devices are wired together, show the wire. If an object blocks a beam, give the player somewhere to watch that happen. The more honestly a room reports itself, the more of the player's attention goes to the real problem. You find out whether you have managed that by playing the build, not by reasoning about it.
Ordering puzzles across a game
A puzzle is never encountered cold. It arrives on top of everything the earlier rooms taught, which is why order is a design decision rather than a packaging one.
Shuffle Portal's levels at random and a new player would be stuck at the door, because the later rooms are written in a vocabulary the earlier ones supply. Some of that vocabulary is explicit tutorial material. Some of it is quieter, like the connector trick in The Talos Principle or the movement insight in Snakebird. Either way, once learned, an idea becomes an ordinary building block the next room can lean on.
Difficulty needs a shape too, and it can be estimated. The GO games weighed several factors: how many solutions a room admits, how many steps the solution takes, how many choices are open at any given moment, and how much prior knowledge is required. More solutions tends to mean easier. More steps tends to mean harder, though past a point it just means tedious. More options at each turn enlarges the search. More assumed knowledge raises the price of entry.
Criteria like those get puzzles into a defensible order, and then playtesting decides what actually happens. You may know exactly which assumption and which revelation you built in, while players assume something else, walk past a clue, back into the answer sideways, or reach the exit by a route you never considered. Few genres depend so heavily on watching real people think.
The curve also moves the line on what counts as fair. Early rooms may need a new rule isolated and stripped of clutter. Thirty rooms later, that rule can be braided into several older ones. A leap that would be unreasonable in the third puzzle is entirely reasonable in the thirtieth, because the language is shared by then. Curve is not a rising number. It is a judgment about when an idea has become common knowledge and when it is still a discovery.
The parts worth checking
A good puzzle comes out of the game's own rules. It sets up a catch that makes the goal look unreachable. It walks the player into that catch by way of an assumption they were meant to make. Then it opens up through a sideways realization about how the system works.
The formula is not compulsory, but most satisfying rooms hold some version of it, and a flat room is usually one ingredient short. The conflict resolves too readily. The assumption is missing, so players drift into the answer. The revelation is too slight, and the room reads as chores rather than discovery.
The best of them manage to be impossible and inevitable at once: impossible beforehand, because the catch shuts down every direct plan, and inevitable afterward, because the solution never left the rules you already had. That flip is the whole pleasure of the form. Nothing about the room changed. You did.
It is hard craft. The genre's high points come out of years of iteration, testing, and cutting things that did not earn their place. A finished puzzle looks simple once solved, and that simplicity is manufactured: firm rules, one contradiction worth the name, a fair piece of misdirection, and a realization that leaves the player reading the game differently. The only way to know you have it is to get the thing running and play it, and your own judgment sitting in front of it is the test that counts.
Build it in Flockbay
In the Flockbay app, write the contradiction in one sentence, then ask for two rooms: the trust, then the trap. Play them in order. If you solve the trap with the ordinary plan, there is no contradiction. If you cannot see why the trap is fair, you taught the rule too late.
An AI puzzle maker and a logic puzzle template should receive the sentence before the art.
Keep reading
- Tough is not the same as smart
- A guard must show what he knows
- The camera serves two masters
- You Remembered turns the letters you type into things you can climb
- Fresco puts one character in the room and one inside the painting
- Build a puzzle around one rule and one insight with the AI puzzle game maker
- Make a puzzle game with AI, one clear rule at a time
Build your next room around one rule, one contradiction, and one realization the player gets to keep.
More notes on designing play