ExeBrowser

Run Windows .exe files in your browser. No install. No upload. Just WebAssembly + Wine.

Play Train tracks puzzle (Tracks) online Works — plays right here, unlimited puzzles

Guide updated October 2026 · Runs via WebAssembly (native port)

Tracks is a railway logic puzzle. A train line must run from A on one edge of the grid to B on another, using only straight pieces and right-angle bends. Numbers along the top and right say how many squares in each column and row hold track, and a few pieces are already laid. The puzzle is ready below; click between squares to lay rail.

Controls — what does what
ActionKeyboardMouse / touch
Lay track between two squaresArrow keys to an edge, EnterLeft-click the edge
Mark an edge 'no track'Space on an edgeRight-click the edge
Mark a square as 'has track'Enter on a squareLeft-click inside the square
Mark a square as 'no track'Space on a squareRight-click inside the square
Mark a row or column of squares-Left- or right-drag across squares
Undo / redoU or Ctrl+Z / R or Ctrl+RGame menu

Play next: Hocus Pocus Parkhaven Tyrian 2000 Duke Nukem all 138 games →

FREE This is the complete game, free. Open source under the MIT licence: the complete puzzle, with a new grid every time.

Train tracks puzzle (Tracks) running in a browser tab via ExeBrowser
Train tracks puzzle (Tracks) running in the browser — no install, no upload.

Tracks is from Simon Tatham's Portable Puzzle Collection, © Simon Tatham and contributors, used under the MIT licence. Built from source by scripts/build-puzzles.mjs.

How to play

Sizes and difficulty

The Type menu runs from 8x8 to 15x15, at Easy, Tricky and, for the 10x10 and 15x15 grids, Hard. Tricky and Hard need you to rule out moves that would force an impossible crossing later. By default the generator avoids neighbouring rows or columns both having a clue of 1; Custom lets you turn that restriction off.

Solving tips

Rows and columns with a clue of 0 are empty; mark them with crosses straight away. Count against the clue: when a row already has as many track squares as its number, cross out the rest. A square with track must have exactly two connections, so if three of its sides are blocked the path is forced. Look at A and B first, since the line must leave each one in a fixed direction.

Where this puzzle comes from

Tracks is part of Simon Tatham's Portable Puzzle Collection, a set of about forty logic puzzles written by Simon Tatham and contributors and released under the MIT licence. Every grid is generated on the spot, so the supply never runs out, and for the grid-logic puzzles the generator makes sure each has exactly one solution, reachable by reasoning rather than guessing. The version here is the collection's own code compiled to WebAssembly; the Game menu can save a puzzle to a file and load it again, and the Type menu changes the size and difficulty.

Frequently asked questions

Can the track visit a square twice or cross itself?

No. Each square holds at most one piece, either straight or curved, and the line never crosses or branches.

What do the shaded squares mean?

They are your own notes: a left-click inside a square marks it as definitely containing track before you know which way the track runs through it.

Is Tracks free to play here?

Yes, with no limit on the number of puzzles. Tracks is open-source software under the MIT licence, and every grid is generated fresh when you press New game.

Does it work on a phone or tablet?

Yes. A tap works as a click and the puzzle resizes to fit the screen. Puzzles whose controls use the right mouse button are easier with a mouse.

More you can play in your browser

See all 138 titles you can play here →

One new retro game in your inbox each week

We add a game most weeks — free, legal, playable in the browser. No spam, unsubscribe in one click.

Related guides

Want a game like this on your own site?

Train tracks puzzle (Tracks) isn't ours to give away — we host it, we didn't write it. But eleven of the games here we did write from scratch, and those are free for anyone to put on their own page: one line of HTML, no account, no permission, no attribution beyond a credit line.

See the games you can embed