How to play Train Tracks
rules · strategies · worked example

How to play Train Tracks

Lay a single railway line from A to B through the squares, matching the row and column counts. Also known as Railway puzzle, Track laying puzzle.

▶ Play Train Tracks⊞ Open the solver

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 Train Tracks on Puzzle Solvers

  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.

Open the Train Tracks game →

Using the Train Tracks solver

  1. Choose the size, type the counts, set A and B, and add given pieces (or press Sample).
  2. Press Solve and step through: empty lines, squares that need two joins, and joins that would close a loop.

Open the solver →

A worked example

Row 1 shows 0, so the track never visits the top row. A given straight piece in row 2 pointing up is impossible — so the piece next to A must turn down.

Column 6 shows 1 and its only possible square is beside a given piece pointing that way, so the track goes there and nowhere else in column 6.

Strategies

Common mistakes

Where it comes from

Track-laying logic puzzles appear in many puzzle magazines and books, often with a train theme. They combine counting with route planning.

Frequently asked 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.

Keep going

All guides: How to play every puzzle and game.