Train Tracks
lay one line from A to B โ€” the counts guide you

Play Train Tracks โ€” Railway Logic Puzzle

00:00
Drag to lay trackTap or right-click for โœ•Drag again to lift

How to play Train Tracks

A railway line must run from the station at A, on the left edge, to the station at B, on the bottom edge. It travels through the middle of squares, going straight or turning a corner, and never crosses or touches itself in a loop.

The numbers along the top and right say how many squares in each column and row the track passes through. A few pieces of track are already laid.

Start with rows and columns of 0 or full lines, then extend the given pieces: every track square joins exactly two of its neighbours.

How to play Train Tracks

Lay a single railway line from A to B through the squares, matching the row and column counts.

The rules

  1. The track starts at A on the left edge and ends at B on the bottom edge.
  2. It runs through the centres of squares, straight or turning a right-angle corner. It never branches, crosses itself or forms a loop.
  3. The numbers say how many squares in each row and column contain track.
  4. Some pieces are given and must be used as shown.

Playing here

  1. Choose a size and a difficulty, then press New Puzzle.
  2. Drag from square to square to lay track; drag over a piece again to lift it. Tap a square (or right-click) to mark it with โœ• for no track.
  3. Counts turn green when a row or column has the right number of track squares.
  4. Hint explains the next deduction โ€” counts, squares that need two joins, and joins that would close a loop.

Tips

The full guide, with a worked example and common mistakes: How to play Train Tracks.

Questions

Can the track touch itself?

It can pass next to itself, but it never crosses, branches or joins into a loop.

Do the given pieces count?

Yes โ€” a given piece is a track square and counts towards its row and column.

Is there always one answer?

Yes โ€” every puzzle here is checked to have exactly one solution.

How do I solve one from a book?

Open the Train Tracks Solver, type the counts, set A and B, add the given pieces and press Solve.

Related