Nurikabe
Shade the sea to leave numbered white islands of exact sizes in one connected ocean.
Basic Game Premise & Rules
MechanicsNurikabe 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.
- Shade cells black (sea) so that every numbered clue sits in a white island with exactly that number of cells.
- Each island contains exactly one number clue.
- Islands cannot touch each other along a side (orthogonally), though they may touch diagonally at corners.
- The entire black sea must form a single orthogonally connected continuous body of water.
- No 2×2 Pool Constraint: The sea cannot contain any 2×2 block of fully shaded cells anywhere on the board.
Rules by Example
See how each rule looks when done correctly versus when violated:
The Islands (1, 2, 3, and 4)
Each number sits in a white island with exactly that many cells. Islands never touch along a side.
The Sea (no 2x2 and connected)
All shaded cells form one connected sea, with no 2 x 2 block fully shaded.
History & Origins
Origins & EvolutionNurikabe was created by Nikoli editor Lenka and debuted in *Puzzle Communication Nikoli* #33 in March 1991. Its name references *Nurikabe*, a mythical Japanese yokai (spirit wall) that appears in front of nocturnal travelers, blocking their path and forcing them to navigate around its impenetrable expanse.
The puzzle stands alongside Slitherlink and Sudoku as one of the golden pillars of Japanese pencil puzzles. Its immense appeal lies in the organic push-and-pull between white islands that need room to expand and the surrounding black sea that must remain connected without pooling into 2×2 blocks.
Mathematical Concepts & Computational Complexity
Computer Science & Discrete MathBeyond its entertainment value, Nurikabe formalizes core principles of discrete mathematics, theoretical computer science, and combinatorics:
Percolation Theory & Continuum Connectivity
Nurikabe is an applied model of 2D lattice percolation. The black cells must percolate across the grid to maintain a single giant connected component (the sea) without ever forming 2×2 cliques. This creates a delicate topological dual: the white islands act as obstacle components in a connected planar graph.
NP-Completeness via Planar 3-SAT
In 2004, Markus Holzer, Pierre McKenzie, and Patrick Traxler published a comprehensive proof in *Lecture Notes in Computer Science* establishing that Nurikabe is NP-complete. By designing sea channels as Boolean signal wires and island clusters as clause checkers, they proved that verifying the existence of a Nurikabe solution is computationally intractable in the general case.
2×2 Square Elimination & Dead-End Avoidance
The forbidden 2×2 pool rule produces local deduction clauses: in any 2×2 block with three shaded cells, the fourth cell is forced to be white. Conversely, if a shaded sea cell is surrounded on three sides by islands or edges, it must extend through its sole remaining neighbor to avoid creating an isolated sea pocket.
References & Further Reading
Bibliography- Holzer, M., McKenzie, P., & Traxler, P. (2004). 'The Computational Complexity of Nurikabe'. Lecture Notes in Computer Science, Vol. 3340 (SOFSEM 2005), 184–193.
- McPhail, L. (2003). 'Nurikabe is NP-complete'. Technical Report, Department of Computer Science.
- Nikoli (1991). Puzzle Communication Nikoli #33. Tokyo: Nikoli Publishing.
- Hearn, R. A., & Demaine, E. D. (2009). Games, Puzzles, and Computation. CRC Press.
Free Printable PDF Booklet
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 | Small 1s, 2s, and 3s with obvious sea passages. | 3 |
| Easy | 5×5 to 6×6 | Island isolation, corner clues, and 2×2 pool avoidance. | 12 |
| Medium | 7×7 to 8×8 | Escape channels and multi-cell island expansions. | 12 |
| Hard | 8×8 to 10×10 | Dense archipelagoes demanding global ocean flow tracking. | 12 |
| Expert | 10×10 | Grandmaster islands with delicate balance between expansion and pooling. | 11 |
Explore More Logic Puzzles
SeriesSlitherlink
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.
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.
Numberlink
Connect pairs of matching numbers with continuous non-crossing paths covering the grid.
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.