Skip to the game
Tic Tac Toe

Number Path

Count from 1 to the last square with each number touching the next, filling the gaps between the clues. Number Path comes in three sizes, with diagonal steps on or off.

Play Number Path

Medium 6×6

Mistakes
0
Time
0:00

Making a puzzle…

Fill the grid with every number from 1 to the last, so each number touches the one after it. Tap a number, then tap a square next to it to place the next number; keep tapping to extend the path. With a keyboard, move with the arrow keys and type a number; Backspace erases, Z undoes, and H gives a hint.

New puzzle
Size
Difficulty
Numbers can touch
Show mistakes
Your records

Easy, any way

SizeSolvedBest time
Small0–
Medium0–
Large0–

How it works

How to play Number Path

Tap a number, then an empty square touching it, and the next number drops in, so the path grows one step at a time toward the next clue.

  1. Step 01

    Start at 1

    Tap 1, then tap an empty square next to it to place 2. Keep tapping the next square to grow the path one number at a time.
  2. Step 02

    Join the numbers

    Each number must touch the one after it: on a side or a corner with Any way, or on a side with Sides only. When you reach a number that's already there, tap the end of its run and carry on.
  3. Step 03

    Fill every square

    The puzzle is solved when every square holds a number and the path runs unbroken from 1 to the last. Each puzzle has exactly one answer.

Features

Number Path with three sizes and two touching rules

  • Three sizes

    Small 5×5, Medium 6×6, and Large 8×8, so the path ends at 25, 36, or 64.

  • Diagonals on or off

    Any way lets numbers touch at corners. Sides only is the stricter rule, with at most four neighbors per square.

  • One answer every time

    A solver checks every puzzle before you see it, so exactly one path fits the starting numbers.

  • See the path grow

    A line joins each number to the next whenever both are placed in touching squares.

  • Hints and mistake checks

    A hint fixes a wrong number or places the next one. Wrong numbers turn red unless you switch Show mistakes off.

  • Records for every setting

    Your puzzle in progress, puzzles solved, and best time for each size, level, and rule stay in this browser.

Strategy

Number Path strategy: counting steps between clues

Most of the puzzle is counting: how many numbers must fit between two clues, and how far apart their squares are.

  • Count the gap

    If 7 and 11 are both on the grid, 8, 9, and 10 must fit in the four steps between them. When 11 is exactly four steps from 7, every step has to move closer to it, which rules out most squares.

  • Follow the only way out

    If a number has just one empty neighbor and the next number isn't placed yet, the next number has to go in that square.

  • Mind the corners

    An empty corner needs two neighbors on the path, one to come in and one to go out. If only two of its neighbors can still link to it, the path must use both.

  • Don't strand a square

    Every empty square needs a way in and a way out. If a route would box one in, the route is wrong.

  • Build down as well as up

    You don't have to count up from 1. Select an empty square and type the number that belongs there, so you can work back from a clue too.

  • Use the checkerboard with Sides only

    With diagonals off, every step moves to the other color of a checkerboard. All the odd numbers share one color and all the even numbers share the other, which rules out half the squares for any number.

About the game

Number Path puzzle: one unbroken chain from 1 to the end

The rules, sizes and levels, the two touching rules, hints, controls, records, the math of paths, and where this kind of puzzle comes from.

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.

FAQ

Number Path questions

Quick answers about Number Path: the rules, diagonals, typing numbers, hints, and saving.

How do you play Number Path?

Fill the empty squares so the numbers run from 1 to the last without a gap, with each number in a square touching the one before it. The starting numbers show where the path must pass.

Can numbers touch diagonally?

With Any way chosen, yes: sides and corners both count. Choose Sides only for the stricter version, where each number must share a side with the next.

How do I place numbers quickly?

Tap a number, then tap an empty square next to it. The next number goes in, and you can keep tapping to extend the path. With a keyboard, move to a square with the arrow keys and type its number.

How do I type a number above 9?

Type both digits quickly, within about a second. Typing 1 and then 4 puts 14 in the square, as long as 14 isn't higher than the last number on the board.

Does every puzzle have one answer?

Yes. A solver checks each Number Path puzzle before you see it, so exactly one path fits the starting numbers.

How many extra numbers does Easy give you?

Hard keeps only the clues the single answer needs, as far as the solver can tell. Easy adds back numbers for about a sixth of the squares: 4 on 5×5, 6 on 6×6, and 11 on 8×8.

Which number does a hint fill in?

If a number is in the wrong square, a hint fixes it. Otherwise it places the lowest missing number that follows one already on the grid. Hints are counted in your result, and Undo can take one back.

What do the lines mean?

A line joins two numbers that come one after the other and sit in touching squares, so you can see which parts of the path are already joined up.

Will my half-finished path still be here later?

Yes. The numbers you've placed, the clock, your settings, puzzles solved, and best times are stored in this browser's local storage. Reset records clears the records but not the path you're working on.