Play Train Track Logic Online Free

Lay a single railway from A to B so that each row and column holds exactly the number of track squares shown.

Train Track Logic title screen on SZ Games
  • Touch ready

Train Track Logic asks you to finish a railway line. The two ends are marked A and B, and a few rail pieces are already in place. Numbers on the top and right edges say how many squares in each column and row hold track. You must lay one route that fits every count. The puzzle is Tracks, by James Harvey, from Simon Tatham’s Portable Puzzle Collection.

What Makes a Valid Line

The track starts at A on the left side and ends at B on the bottom. It can use only straight pieces and right-angle curves. It may not cross itself, split into branches or form a loop. Every square that carries track uses exactly two of its four edges.

Laying Rails and Notes

Click the edge between two squares to lay rail across it. Right-click an edge to mark a cross where the line cannot go. Inside a square, a click places a marker for “track goes here” and a right-click places a cross for “no track.”

How to Control Train Track Logic

Input guide for Train Track Logic
To do thisOn a keyboardWith a mouseOn a touchscreen
Put a track piece over an edgeMove onto an edge with the arrow keys, then press EnterLeft-click the edge shared by two squaresTap the edge while Tap is set to Track
Flag an edge as "no track here"Press Space on the edgeRight-click the edgePress and hold the edge, or set Tap to Cross and tap
Flag a square as "has track" / "no track"Enter / Space on the squareLeft-click / right-click within the squareTap / press and hold within the square
Flag a full line of squares—Left- or right-drag over several squaresDrag (press and hold first to place crosses)
Start new, undo or redoN, U, RUse the menu buttons above the gridUse the menu buttons above the grid

Drag across several squares to mark a whole row or column at once, which is handy when a clue is already full. This works on touch screens too. The map flashes when the route is complete.

Sizes and Difficulty

The Type menu has twelve presets, from 8x8 up to 15x15, at Easy, Tricky or Hard. You can also choose a custom size. Undo and redo have no limit, and a Solve button shows the answer.

Reasoning Tips

  • Settle rows and columns with a clue of 0, or one equal to their full length, first.
  • When two edges of a track square are crossed out, the other two must be used.
  • Grow the given pieces right away. Each one points to a neighbor with track.
  • Once a row’s count is met, drag crosses across the rest of it.
  • Watch for small loops. A closed circle can never connect A and B.
  • If a far column needs track, the line has to turn toward it somewhere.

A Good Fit For

The puzzle suits fans of path and loop logic who like to see a picture grow as they work. If you enjoy it, try Loopy Loop Puzzle, or find more grid challenges among the puzzle games on SZ Games.

Last played and checked by SZ Games:

Train Track Logic – Questions and Answers

Can the line cross itself?

No. The route is one unbroken line from A to B with straight pieces and 90-degree curves only. It cannot cross, branch or loop.

What do the red clues mean?

A clue turns red when its row or column already holds more track than the number allows. Remove a piece there or rethink the route.

Are the starting rail pieces always part of the answer?

Yes. Any rail printed at the start belongs to the solution, so extend those pieces early.

Try Something Different