AZTest
← All Logic Puzzles
Shading Pure Logic · No Guessing 100 Online Levels

Kurodoko

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

Alternative Names: Kuromasu (黒マスはどこだ) Where is Black Cells? Range Puzzles

Basic Game Premise & Rules

Kurodoko 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:

What a Number Sees

A number counts the white cells it sees: itself, plus the white cells straight up, down, left and right until a shaded cell or the edge.

7335
✓ Correct The 7 sees itself, its whole row and its column below the top: seven white cells (tinted).
6335
✗ Wrong This number says 6, but it sees seven white cells.

Shaded Apart, White Together

Numbered cells stay white. Shaded cells never share a side, and all the white cells stay joined in one piece.

7335
✓ Correct Three shaded cells, none side by side, and one piece of white.
6
✗ Wrong Two shaded cells side by side.
6
✗ Wrong The top-left cell is cut off from the other white cells.

History & Origins

Kurodoko was invented by Nikoli and published in *Puzzle Communication Nikoli* #71 in 1998 under the title *Kuromasu* (short for *Kuro masu wa doko da*, 'Where is the black cell?').

The puzzle gained widespread acclaim for its laser-sharp spatial deductions: each numbered cell acts like a lighthouse or watchtower, casting beams of vision left, right, up, and down. Solvers deduce the locations of black cells by observing how white ranges must be clipped to prevent numbers from seeing too far, while ensuring white cells remain unbroken and black cells stay isolated.

Mathematical Concepts & Computational Complexity

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

Orthogonal Visibility Graphs

Kurodoko studies visibility on discrete grid arrangements: for vertex v = (r, c), its range R(v) is 1 + ∑_{d} L_d(v), where L_d(v) is the length of the maximal white segment starting from v in direction d. The problem asks for an independent set B of vertices whose removal truncates all rays to match target lengths exactly.

NP-Completeness via Planar 3-SAT

K. J. Batenburg and W. A. Kosters (2012) proved that deciding the solvability of Kurodoko (Kuromasu) is NP-complete. By configuring visibility beams into Boolean wires and cross-clipping gadgets, they showed that even restricted variants with modest numbers are computationally intractable.

Range Overlap & Minimum Extension Bounds

If a number N exceeds the total available length of three of its four directions, it MUST extend into the fourth direction by at least the deficit. Conversely, if extending a white ray would give N a sightline greater than its clue, the terminating cell is immediately proved to be black.

References & Further Reading

  1. Batenburg, K. J., & Kosters, W. A. (2012). 'On the Complexity of the Kuromasu Puzzle'. Theoretical Computer Science.
  2. Nikoli (1998). Puzzle Communication Nikoli #71. Tokyo: Nikoli Publishing.
  3. Tatham, S. (2004). 'Range'. Simon Tatham's Portable Puzzle Collection.
  4. Friedman, E. (2002). 'Pencil Puzzles: A Survey of NP-Completeness'.

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 Small grids demonstrating white visibility and range blocking. 3
Easy 5×5 to 6×6 Maximal sightline clips and diagonal white neighbors. 12
Medium 7×7 to 8×8 Intersecting orthogonal rays and white corridor preservation. 12
Hard 8×8 to 9×9 Tight numbers forcing black placements across large boards. 12
Expert 9×9 to 10×10 Grandmaster boards with delicate balances of global vision. 11
📥 Download Kurodoko Booklet (PDF) 468 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.

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.

Ready to play Kurodoko?

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

Start Playing Level 1 →