Train Track Logic is a route-building puzzle where you finish a railway that someone left half done. Two ends of the line, marked A and B, sit on the edge of the map, and a few rail pieces are already in place. Numbers along the edges tell you how much track each row and column needs. Written by James Harvey for Simon Tatham’s puzzle collection, it is a calm, clever test of planning.
The Goal
Connect A, on the left side, to B, on the bottom, with one continuous line. The clue above each column and beside each row says exactly how many squares in that line carry track. Your finished route must match every clue and use every given piece.
Rules Explained
- Track uses only straight pieces and 90-degree turns.
- The line can’t cross itself, branch or form a closed loop.
- A square with track uses exactly two of its four sides.
- Click the edge between two squares to lay rails across it. Right-click an edge to cross it out.
- Click inside a square to mark that track passes through. Right-click to mark that it doesn’t.
- Drag across squares to mark a whole run at once.
A clue turns red if its line holds too much track. When the route is complete and correct, the map flashes. The Type menu offers twelve presets at Easy, Tricky and Hard.
Keys and Buttons for Train Track Logic
| What you do | ⌨ Keyboard | 🖱 Mouse | 👆 Touch |
|---|---|---|---|
| Lay a track piece across an edge | Arrow keys to move onto an edge, then Enter | Left-click the edge between two squares | Tap the edge with Tap set to Track |
| Mark an edge as "no track here" | Space on an edge | Right-click the edge | Press and hold the edge, or set Tap to Cross and tap |
| Mark a square as "has track" / "no track" | Enter / Space on a square | Left-click / right-click inside the square | Tap / press and hold inside the square |
| Mark a whole line of squares | — | Left- or right-drag across several squares | Drag (press and hold first for crosses) |
| New game, undo, redo | N, U, R | Menu buttons above the grid | Menu buttons above the grid |
Winning Strategies
- Settle the extreme clues. A row with 0 is all crosses, and a row whose clue equals its length is all track.
- Use the two-side rule. Once two sides of a track square are crossed out, the other two must connect.
- Extend the given pieces. Every printed rail points at a neighbor that also needs track.
- Cross out full lines. When a row reaches its count, drag crosses across the rest to keep things readable.
- Think about direction. To reach a far column, the line must turn toward it at some point, so look for where that turn can happen.
Common Mistakes
- Closing a small loop that can never connect to A or B.
- Forgetting that a square marker only means “track here,” not which way it goes.
- Counting a curve as two squares instead of one.
Who Should Play It
Train Track Logic is a good fit for players who enjoy path puzzles and steady, careful reasoning. If you like loop-drawing grids or number-clue logic puzzles, this railway will keep you busy.
Played and checked by the KBHX Games team · updated











