AZTest
← All Logic Puzzles
Paths & Lines Pure Logic · No Guessing 100 Online Levels

Numberlink

Connect pairs of matching numbers with continuous non-crossing paths covering the grid.

Alternative Names: Nanbarinku (ナンバーリンク) Flow Free Lines / Link Puzzles Pair Connections

Basic Game Premise & Rules

Numberlink is an untimed, deterministic pencil-and-paper logic puzzle played on a grid. Every valid puzzle has exactly one unique solution that can be discovered through rigorous deductive reasoning alone, without trial and error or guessing.

Rules by Example

See how each rule looks when done correctly versus when violated:

Connecting Matching Numbers

Connect each pair of matching numbers with a single continuous line of horizontal and vertical steps. Lines must never cross each other.

1122
✓ Correct Matching 1s and 2s connected by continuous, non-crossing pastel lines through adjacent cells.
1122
✗ Wrong Crossing lines: paths cannot intersect or share any grid cell. Lines must go around each other.
1122
✗ Wrong Mismatched connection: line connects number 1 to number 2. Only matching numbers may be paired.

Lines and Endpoints

Numbers are endpoints only. Lines cannot branch, fork into T-junctions, or pass through another number.

1122
✓ Correct Lines start and end at the numbers. They turn cleanly through empty cells without branching.
11
✗ Wrong Branching line: a line splits or forks into multiple directions (T-junction). Branches are not allowed.
1122
✗ Wrong Passing through a number: lines cannot run through another number on their way to their target.

History & Origins

Numberlink was invented by Nikoli and debuted in *Puzzle Communication Nikoli* #27 in September 1989. It originated from printed circuit board (PCB) design problems, where electrical engineers needed to route wires between terminal pins on a single-layer board without wire crossings.

In 2012, Big Duck Games released *Flow Free* on mobile platforms, turning Numberlink into one of the most downloaded mobile games in history. In Nikoli's rigorous formulation, all cells on the board must be filled, ensuring a mathematically airtight, unique solution without ambiguous slack.

Mathematical Concepts & Computational Complexity

Beyond its entertainment value, Numberlink formalizes core principles of discrete mathematics, theoretical computer science, and combinatorics:

Edge-Disjoint & Vertex-Disjoint Paths Problem

Numberlink directly models the 2D Disjoint Paths Problem on planar grid graphs: given k pairs of terminals (s_i, t_i), find k mutually vertex-disjoint simple paths connecting each pair. In general graphs, this is one of Karp's 21 NP-complete problems.

VLSI Circuit Routing & Topological Obstacles

In electronic design automation (EDA), Lee's routing algorithm and A* maze routers solve single-path connections. In Numberlink, routing path 1 acts as a dynamic obstacle for path 2, creating topological homotopy constraints.

NP-Completeness via Planar Graphs

In 2010, I. Kotsireas and D. Karapetyan proved that Numberlink is NP-complete. The full-grid coverage rule forces dead ends to extend, meaning empty spaces cannot be bypassed.

References & Further Reading

  1. Kotsireas, I. S., & Karapetyan, D. (2010). 'On the NP-completeness of the Numberlink Puzzle'. International Journal of Computer Mathematics.
  2. Nikoli (1989). Puzzle Communication Nikoli #27. Tokyo: Nikoli Publishing.
  3. Robertson, N., & Seymour, P. D. (1995). 'Graph Minors. XIII. The disjoint paths problem'. Journal of Combinatorial Theory, Series B.

Free Printable PDF Booklet

50 Levels Included · Solutions in Back

Download our beautifully formatted, high-resolution A4 puzzle booklet. Generated directly from the handcrafted levels on AZTest, it contains 50 puzzles ordered from gentle introductory boards up to master-level challenges, followed by complete solutions at the back.

Difficulty Stage Grid Size Description Puzzles
Intro 5×5 Simple 3-pair connections demonstrating non-crossing paths. 3
Easy 5×5 to 6×6 Corner pairs and edge hugging routes. 12
Medium 7×7 to 8×8 Five and six-pair networks requiring full-grid cell coverage. 12
Hard 8×8 to 10×10 Deep serpentine paths that weave around terminal points. 12
Expert 10×10 Master routing challenges with dense numbers and zero wasted space. 11
📥 Download Numberlink Booklet (PDF) 4500 KB

Formatted for standard A4 printing. 4 puzzles per page provides ample workspace for pencil solving. Free to distribute for personal or educational use.

Explore More Logic Puzzles

Slitherlink

Connect dots to draw a single unbroken loop guided by surrounding cell numbers.

Wolves & Sheep

Draw a Slitherlink loop that fences the gentle sheep in and keeps the fierce wolves out.

Masyu

Draw one closed loop through cell centres that rigorously obeys the black and white pearls.

Nurikabe

Shade the sea to leave numbered white islands of exact sizes in one connected ocean.

Nonogram

Shade runs of cells according to row and column number clues to reveal a hidden picture.

Themed Nonogram

Solve color picture cross puzzles that blossom into vibrant pixel art upon completion.

Hitori

Shade the repeated numbers until every row and column has unique digits, keeping all white cells connected.

Kurodoko

Shade cells so every numbered circle sees exactly that many white cells in its row and column.

Mosaic

Shade cells guided by numbers that count how many cells around them are filled, revealing a hidden picture.

Binairo

Fill every cell with blue or white circles: never three in a row, every line half and half.

Heyawake

Shade rooms according to their clues without isolating unshaded cells or leaving long straight corridors.

Searchlights

Place light beams in white cells so that every numbered black post sees its exact clue count.

Light Up

Place light bulbs to illuminate every white cell without any two shining on each other.

Calcudoku

A Latin square where every outlined cage satisfies its arithmetic target and operator.

Skyscrapers

Place towers of heights 1 to N so that each outside clue sees the exact count of buildings.

Sum Skyscrapers

Skyscrapers where each outside clue is the sum of the heights of all visible buildings.

Suguru

The elegant polyomino number puzzle where no two identical digits can touch, even diagonally.

Futoshiki

A Latin square puzzle with inequality signs pointing between neighboring numbers.

Fillomino

Divide the grid into polyomino blocks where each cell's number equals the area of its block.

Galaxies

Partition the grid into rotational 180° symmetric galaxies, each centered on a single dot.

Shikaku

Cut the whole grid into rectangles and squares, each containing exactly one number: its area.

L-Pieces

Draw borders to partition all white cells into perfect four-cell L-shapes.

Bridges

Connect the island network with straight horizontal and vertical bridges into one united world.

Slant

Draw a diagonal slash in every cell matching the corner numbers, without ever closing a loop.

Tents

Pitch a tent beside every tree with no two tents touching, matching row and column counts.

Marupeke

Place circles and crosses in every cell without creating three in a row in any direction.

Ready to play Numberlink?

Test your deduction skills online with 100 free interactive levels, automatic conflict detection, progressive hints, and continuous browser save state.

Start Playing Level 1 →