Signal box3D

The same puzzle on a toy railway: set the roads and pass every train through in as few ticks as you can.

Puzzle Time 0:00

Laying the track…
Paper version

You are the signaller at a small country station, and this is the same puzzle as the paper Signal box, with the same codes, pars and hints, laid out as a toy railway. Trains wait in the open at each line end and leave through the tunnel under its letter. Each train’s chip says where it is booked: 2 →B leaves by B. To play: tap a train (or its chip), then tap where it should run to: a platform, the loop, a stretch of line, or the tunnel it leaves by. The points throw, the road shows in yellow with arrows, and the train’s signal drops when it is clear to go. Step moves every train with a clear signal one block. The rules: one train to a block, and a train only moves into a block that was empty. Trains never reverse. Passenger trains and railcars must use a platform road; the loop is for goods trains. A goods train is slow: it rests for a tick after every move. A road set one way locks out trains coming the other way. Par is the fewest ticks it can be done in. Any plan that gets every train away solves the puzzle; doing it in par earns a star, and Run then plays your plan through without stopping. The view: drag to turn the scene, pinch or use the wheel to zoom, two fingers (or Shift and drag) to slide it; Reset view puts it back. On a keyboard: Tab to a train’s chip and press Enter, the arrow keys choose where it runs to and Enter sets the road; S steps (so does Enter when no train is picked), Escape lets go, ⌘/Ctrl + Z undoes. Models by Kenney (CC0), drawn with three.js (MIT).