Number Path

Draw one line that starts at 1, passes every number in order, ends on the highest number and fills every cell of the grid.

One line from 1, through every number, filling every cell.

0:00

Daily puzzle

How to play

  1. The line moves between cells that share a side, never diagonally.
  2. It visits every cell exactly once.
  3. It starts on 1 and reaches the numbers in order: 1, 2, 3 and so on, ending on the highest number.
  4. Drag from the end of the line to extend it, or tap cells one at a time. Drag back over the line to undo a step, or tap any cell on the line to cut it there. On a keyboard, the arrow keys move the end of the line.

The game will not let the line enter a number out of turn. Every puzzle has exactly one solution.

Worked example

Example 5 by 5 number path puzzle with numbers 1 to 6352164
A 5×5 puzzle: start at 1, end at 6.
The four corners and the cell below 1352164
Yellow: corners with fixed links. Red: the cell the 1 cannot use.
  1. A corner cell has only two neighbors. Unless the line starts or ends there, it must arrive from one neighbor and leave by the other. The 1 and the 6 are not in corners, so all four corners are fixed: the 3 in the top left links to the cells right of it and below it, and the same holds at the other three corners, including the 4 in the bottom right.
  2. If the line left 1 downward, the next cell (row 4, column 5) would have to continue into its corner, the 4. The line would reach 4 before 2 and 3. So the 1 does not step down.
  3. That leaves two exits from 1: left into the 2, or up. Following each with the corner links in place, only one route covers all 25 cells.
Solved example: one line from 1 to 6 through all 25 cells352164
The solution: 1, 2, then up and across the top to 3, down the left side, along the bottom to 4 and back up through 5 to finish on 6.

The corner rule extends to any cell with only two open neighbors. The Number Path techniques page covers that, number order and the checkerboard rule.

Sizes

GridLevelCells to fillNumbered cells (average of 10 puzzles)
5×5Easy256.5
6×6Medium368.4
7×7Hard4911.3
8×8Expert6413.6

The generator removes every number the puzzle can do without, so fewer numbers means longer stretches to work out between them.