Logical Solvers

Set up your puzzle, then choose Solve or True candidates. Tip: Random puzzle fills in a complete, guaranteed-solvable clue set — delete clues from it to experiment.
segment in every solution segment in some solutions undetermined (time limit) cell used in every solution segment in no solution cell empty in every solution shaded (click a cell to toggle)
Rules & how to use this tool

U-Bahn rules. Draw one totally connected network through the centers of some unshaded cells. The network may branch or turn but may never dead-end: every used cell connects in 2, 3, or 4 directions. A clue outside the grid gives the exact count of a line shape in that row or column, regardless of the shape's rotation: ┼ cross (4 connections), ├ branch (3), ─ straight (2 opposite), └ turn (2 adjacent) — or, in the outermost band, of · empty cells the network never visits (shaded cells count as empty).

Entering clues. Clues are arranged the traditional U-Bahn way: the five rows above the grid hold column clues and the five columns on the left hold row clues — one band per shape, in the order shown by the icons on the corner diagonal (each icon labels the band to its right and the band below it). Leave a box empty for "no clue"; enter 0 to require zero of that shape. Click any grid cell to shade it (shaded cells can’t be used by the network).

Solve finds one valid network and tells you whether it is unique. True candidates proves, for every individual segment, whether it appears in every solution (solid blue), in some but not all (dashed gray), or in none (a small × on that border) — each segment is tested independently, so the result is exact even when there are far too many solutions to enumerate. The solid network is the guaranteed partial solution: it can legitimately contain loose ends and partial pieces, because a cell’s remaining connections may differ from solution to solution. Tinted cells are used in every solution (even when no single segment through them is fixed); × marks cells used in none. Amber dashed segments could not be proven either way before the time limit — everything else shown is proven. Raise the limit and re-run to resolve them.

Take step makes exactly one logical deduction at a time, sudoku-solver style: it keeps pencil marks for each cell (remaining shapes among L turn, I straight, T branch, X cross, · empty), draws borders it can prove (line or ×), and explains each move. The full ladder of ideas it tries — from clue counting through cross pigeonholes, connectivity (sealed loops, unreachable regions, forced bridges), segment capacity, and the parity tricks of the classic solving guides — is listed under Step deduction types beside the board, with the idea behind the last step highlighted. When no human-style rule applies it falls back to an exhaustive test of a single border and says so. Steps reset automatically whenever you change clues or shading.