Number Path is a logic puzzle about one long path. Some numbers are already on the grid, and you fill in the rest so the count runs from 1 to the last square, each number touching the one before it. You can pick from three sizes, two levels, and two rules for how the numbers may touch.
Number Path rules
Every puzzle starts with a few numbers in place, always including 1 and the last number: 25 on the 5×5 board, 36 on 6×6, and 64 on 8×8. Fill every empty square so that each number from 1 to the last appears exactly once, and each one sits in a square touching the number before it. Read in order, the numbers trace a single path that visits every square once.
The starting numbers can't be moved or erased, and the path has to pass through each of them at the right count. If 12 is given in a corner, then 11 and 13 must both sit next to that corner. The clues pin the path down until only one route fits.
Three sizes and two levels
Choose Small 5×5, Medium 6×6, or Large 8×8 under New puzzle. The difficulty decides how many numbers you start with:
- Hard starts from the full answer and takes numbers away one at a time, in random order, as long as a solver still finds only one path. What's left are only the clues the answer needs, as far as the solver can tell.
- Easy is built the same way, then puts back numbers for about a sixth of the squares: 4 on 5×5, 6 on 6×6, and 11 on 8×8. More numbers means shorter gaps to bridge.
If you haven't placed anything yet, changing a setting starts a new puzzle straight away. Otherwise your puzzle stays put until you press Start a new puzzle.
Any way or Sides only
Under Numbers can touch, pick how the path may step. Any way, the default, counts sides and corners, so a square in the middle of the grid has eight neighbors. Sides only allows left, right, up, and down, so a middle square has four.
Sides only changes the puzzles a lot. With fewer ways to step, fewer clues are needed to force one answer, so a Hard 6×6 puzzle often shows just five or six numbers out of 36. It also brings in a handy checkerboard rule, explained below.
Hints, mistakes, and the path lines
A line joins each number to the next whenever both are placed in touching squares, so you can see which stretches of the path are already joined up. When you select a number, the numbers just before and after it are outlined.
With Show mistakes on, a number in the wrong square turns red, and the status line says it doesn't go there. A number placed twice turns red either way. Switch Show mistakes off to check your own work, though the Mistakes counter still counts every wrong number you place.
Hint fixes a wrong number first, if there is one. Otherwise it places the next missing number after one already on the grid and says which number it went next to. Undo takes back your last change, hints included, and Erase clears a number you placed.
Bridging the gaps between clues
Habits that pay off on the first few boards:
- Start on a Small Easy board with Any way, then move up one size at a time.
- Compare the gap between two clues with the distance between their squares. If the gap is just big enough, the path has to head straight there.
- Look at corners and edges first. They have fewer neighbors, so they force moves sooner.
- Check that every empty square can still be reached. One boxed-in square means the route is wrong.
- Work on several stretches at once. You don't have to finish 1 to 10 before you start on 30.
If you enjoy counting logic like this, try Kakuro, a crossword of sums, or Nonogram, where number clues reveal a picture.
The math behind Number Path: Hamiltonian paths
In graph theory, a route that visits every point of a network exactly once is called a Hamiltonian path. It's named after the Irish mathematician William Rowan Hamilton, whose Icosian game of 1857 asked players to find such a route around the corners of a dodecahedron. A finished Number Path is exactly that: a Hamiltonian path through the squares, with the numbers recording the order.
Sides only adds a neat parity rule. Color the grid like a checkerboard and every step lands on the other color, so all the odd numbers share one color and all the even numbers share the other. A 5×5 board has 13 squares of the corner color and 12 of the other, and there are 13 odd numbers from 1 to 25, so 1, 25, and every odd number in between sit on corner-colored squares. Diagonal steps keep the same color, so the trick doesn't work with Any way.
From a random snake to a puzzle with one answer
Every puzzle starts as an answer. The game lays a snake back and forth through every row, then reshapes it with 30 small random moves for every square, each joining one end of the path to a neighboring square and flipping part of the path around. The result is a random path that still visits every square once.
Then numbers are taken away. Each time one goes, a solver looks for a second way to finish the grid, and the number comes back if it finds one or can't settle the question quickly. 1 and the last number always stay, so every puzzle has exactly one answer.
Timer and best times
The clock starts with your first number or hint and pauses while the tab is hidden. When the last square fills, the game shows your time along with your mistakes and hints, and tells you when it's a new best time.
Your records shows puzzles solved and your best time for each size, for the level and rule you've chosen. All 12 combinations of size, level, and rule keep their own records. Starting a new puzzle after you've placed numbers counts the old one as played, and Reset records clears everything.
Tap to extend, type to jump ahead
Tapping is built around the path itself. Select any number and the empty squares touching it are tinted wherever the next number could go. Tap one and that number lands there, and you can keep tapping to stretch the run toward the next clue.
- Keyboard: move with the arrow keys and type the number a square should hold, which lets you work backward from a clue. For 10 and up, press both digits within about a second. Backspace or Delete erases, Z or U undoes, and H gives a hint.
- Screen readers: every square is labeled with its row, column, and number, and says whether it was given or is wrong. The status line reads out each step.
Where Number Path puzzles come from
Puzzles built on a chain of consecutive numbers include Hidato, invented by the Israeli mathematician Gyora Benedek, where numbers touch on sides or corners. Benedek was also one of the inventors of the Lights Out handheld, the idea behind Light Flip. Numbrix, created by Marilyn vos Savant, has appeared in Parade magazine since 2008 and allows sides only.
Other publishers call the idea Number Snake or Number Chain. Hidato and Numbrix are brand names, and this version, written for this site, isn't affiliated with either.
Saved paths and local storage
You won't need an account. Your settings, the records for all 12 combinations, and the path in progress, with its mistakes, hints, and clock, live in one local storage entry in this browser, so a half-finished 8×8 is waiting when you come back, though Undo history starts fresh after a reload.
The page needs a connection to load. From then on, each path is laid out in your browser, and the numbers you place and your times aren't sent to a server. The privacy policy names the stored entry.