TRAINTRACKS

How to play Train Tracks

Train Tracks is a one-line logic puzzle: no guessing is needed, because every board has exactly one solution that the numbers pin down.

The rules

  1. 1Find the entrance and the exit

    Two dark tabs sit on the edge of the grid. The arrow on the first points in, the arrow on the second points out. Your track must run from one to the other.

  2. 2Read the numbers

    Each number says how many squares in that row or column contain track. Turn a number green by hitting it exactly; go over and the board won't accept the piece.

  3. 3Draw one unbroken line

    Straight pieces and corners join end to end. There are no branches, no loops and no crossings, and no piece can have an open end.

  4. 4Check the grey squares

    Squares shaded grey already hold a piece. They're free clues, so build outward from them.

Worked example: a 7×7 Train Tracks puzzle solved step by step

Here is a real Medium puzzle solved the way you'd do it on paper, using only the two rules every player learns: count the lines, and make the track connect. No guessing at any point.

Key: shaded squares are given, ? means track whose shape isn't known yet, ✕ means empty, and yellow marks what each step just worked out.

  1. 1Step 1

    The starting board. 3 squares are printed with track (shaded); the line enters and leaves where the dark tabs point. Every other square is unknown.

  2. 2Step 2

    No room to spare: row 6, row 7, column 1 and column 2. Each needs exactly as many track squares as it has open squares left, so all of them are track (shown as ?).

  3. 3Step 3

    Already full: row 1, row 2, row 3 and row 4. Each already has as many track squares as its clue, so every other square in it is empty.

    No room to spare: row 5 needs exactly as many track squares as it has open squares left, so all of them are track (shown as ?).

  4. 4Step 4

    Make it connect. Every track square joins exactly two neighbours, nothing points off the board except at the entrance and exit, and track can't run into an empty square. Following that from what's already known settles 6 more squares.

  5. 5Step 5

    Keep connecting. The pieces just found leave their neighbours only one way to join up, which settles 6 more squares.

  6. 6Step 6

    Keep connecting. The pieces just found leave their neighbours only one way to join up, which settles 6 more squares.

  7. 7Step 7

    Keep connecting. The pieces just found leave their neighbours only one way to join up, which settles 6 more squares.

    Every square is decided: that's the railway, and the only one that fits.

Want to try one yourself? Start with an Easy 5×5, or read the step-by-step solving guide for more techniques.

Controls

Draw

Drag along the route to claim squares as track; they show a ? until you know their shape. Touch a square that isn't part of the route and you lose a life. Once every track square is found, swipe along the line to lay the rails.

Pick a piece

Choose a straight or a corner from the tray and tap a square to place exactly that piece.

Mark and erase

The ✕ marks a square as empty; the eraser clears a square.

Undo and hints

Undo takes back your last move. Practice puzzles have two hints each; the Daily has none, so everyone plays it the same way.

Lives

Every board gives you 3. Run out and you can try the board again.

Solving tips

  • Zeros first

    A 0 means the whole row or column is empty. Mark it with an ✕ so you can see what's left.

  • Count what's left

    If a clue is 4 and only 4 squares in that line aren't crossed out, every one of them is track.

  • Work from the tabs

    The line has to leave the entrance square straight away. The clue for that row or column often tells you which way it turns.

  • Corners tell you more than straights

    A line that turns uses squares in two rows and two columns at once, which is usually where the numbers finally fit together.

  • Use the ✕ tool

    Crossing off squares you know are empty makes the remaining possibilities obvious, and it costs nothing.