04
Exit-First Planning
Work backwards from where marbles must end up to where they are now, scheduling every mechanism on the route.
When To Use
Use on tunnel, belt and arrow-box levels where mechanisms decide where marbles go, not you.
Steps
- 锚定终点
Pin down each key marble’s final tray (colour match and capacity).
- 倒推路径
Walk back from the goal: which tunnels, belts and arrow boxes, and what triggers each.
- 排时间表
Mechanism order = route order; open downstream before upstream.
- 留检验点
After each major mechanism, re-verify the rest of the route still holds.
Misuse Warning
Exit-first does not conflict with outside-in: one governs clearing order, the other the transport route — both often run together.
Levels where the board picks the destination
Exit-first planning applies when you choose the marble and the timing, not the destination. Tunnels have fixed exits, belts carry whatever lands on them to a fixed mouth, arrow boxes redirect on contact. On those boards, where a marble goes is a fact about the mechanism rather than a decision you make.
Two conditions make the setup worth it. There must be more than one plausible route, otherwise there is nothing to choose. And at least one route must pass through a mechanism you can switch, or the schedule has no levers. When every marble falls straight into a matching tray, skip the planning and spend the time on colour order instead.
Backwards first, then forwards
Start at the receiving end. For each colour still in play, name the tray that must absorb it and confirm the tray has both the capacity and the colour. A tray that cannot take the colour is not an endpoint, however close it sits.
Walk each route backwards and list the switches on it: a belt that must run, a tunnel mouth that must be clear, a box that must be open. Order them by position along the route, then run the schedule from the far end inward. Downstream first is the whole trick, because upstream first feeds marbles into a pipe with no outlet.
Change one mechanism at a time and watch a single drop before touching the next. Two changes at once destroy the information you just paid for. Stop the schedule whenever a receiving tray is close to full: the remaining route is no longer valid and has to be re-derived from the new capacity.
What exit-first leaves out
It plans transport, not supply. If the level needs more marbles than exist, no route repairs that; it is a multiplier question, and the answer is deciding which gate passes are worth the space they consume. It also assumes the route is knowable, which stops being true the moment an unknown box sits upstream of a junction.
The other limit is cost. Backwards planning is expensive in attention, and on a short move budget it can eat the budget it was meant to save. If two schedules both collapse at the same checkpoint, the route is not the problem — the order of unlocks is, and chain order should come first.
Related Types
Related Skills
All Solution Patterns
FAQ
What if I open a route mechanism early?
Usually waste or misdelivery — dropping upstream before downstream is ready feeds chaos. Follow the schedule.
When two routes exist, which one?
The one with fewer mechanisms — each extra mechanism adds uncertainty.