puzzle lab

Zip

Draw one line from 1 to 6 that fills every square. As you draw, the graph on the right keeps score: squares lose degrees, and wherever only one continuation is left the segment is forced — shown on both views before you get there.

0/49 squares

6 numbered · 11 walls · drag to draw; click a covered square to rewind to it

The same board, as a graph

cell 0 · degree 2 · waypoint 11cell 1 · degree 3cell 2 · degree 3cell 3 · degree 2cell 4 · degree 0cell 5 · degree 0cell 6 · degree 0cell 7 · degree 3cell 8 · degree 4cell 9 · degree 3cell 10 · degree 4 · waypoint 22cell 11 · degree 2cell 12 · degree 2cell 13 · degree 2cell 14 · degree 3cell 15 · degree 3cell 16 · degree 0cell 17 · degree 3cell 18 · degree 3cell 19 · degree 4 · waypoint 33cell 20 · degree 3cell 21 · degree 3cell 22 · degree 3cell 23 · degree 3cell 24 · degree 3cell 25 · degree 0cell 26 · degree 3cell 27 · degree 3cell 28 · degree 2cell 29 · degree 0 · waypoint 44cell 30 · degree 3cell 31 · degree 3cell 32 · degree 3cell 33 · degree 4cell 34 · degree 2cell 35 · degree 2cell 36 · degree 3cell 37 · degree 3cell 38 · degree 0 · waypoint 55cell 39 · degree 3cell 40 · degree 2cell 41 · degree 0cell 42 · degree 0cell 43 · degree 2cell 44 · degree 3cell 45 · degree 2cell 46 · degree 2cell 47 · degree 0cell 48 · degree 0 · waypoint 66
19 forced by the board, 0 by your line, 1 ruled out.
  • deg 0spent · 11
  • deg 1dead end
  • deg 2corridor · 12
  • deg 3junction · 22
  • deg 4open · 4
  • on your line · 0
  • forced by your line · 0
  • drawn on the board
  • forced · 19
  • ruled out · 1

Every node is a square; every edge is a legal step. Colour is the node’s live degree: the neighbours it can still reach. Nodes your line already runs through leave that scale and turn teal.

A square with exactly two ways out has to use both, so those segments are forced — certain, though nothing says which way round the line runs through them. Committing one means its end squares can’t take a third, which rules more edges out and forces more segments in turn. With the checkbox on, all of that is recomputed from your line on every square you draw; with it off, the button walks one round at a time.