Nonogram technique · level 3 of 3

Nonogram technique: Line logic with known cells

Line logic combines a clue with the cells you have already decided in that line. List every way the blocks can still be placed without contradicting a known cell; a cell that is filled in all of them is filled, and a cell that is empty in all of them is empty.

Before you start

You should be comfortable with overlap. Line logic is the general form of it: overlap is line logic on a line where nothing is known yet.

Where you meet it: Almost every puzzle after the first pass. The share of cells decided this way is one of the four factors in a Nonogram difficulty score.

The idea in one line

Clue 3 in a line of 7 with cell 6 already filled: the block must cover cell 6, so it starts at cell 4 or 5. Cells 5 and 6 are filled either way, and cells 1 to 3 can never be reached.
1234567
Before (clue 3)unknownunknownunknownunknownunknownfilledunknown
Afteremptyemptyemptyunknownfilledfilledunknown

Why it works

Every known cell removes placements. A filled cell must be covered by some block; an empty cell (✕) cannot be covered by any block. Whatever survives is the complete list of possibilities for the line, so a cell on which all survivors agree has only one possible value.

In the one-line example, the clue 3 must cover the filled cell 6. A block of 3 covering cell 6 can start at cell 4 (covering 4–6) or at cell 5 (covering 5–7); starting earlier it would stop before cell 6, and starting later it would run off the end. In both placements cells 5 and 6 are filled, and cells 1 to 3 are never reached, so they are empty.

You rarely need to write the placements down. Two practical shortcuts cover most cases: the edge of a block that touches the border or a ✕ cannot move any further, and a filled cell near a border "pulls" its block in, fixing cells on both sides of it.

Two examples from real Gridkoi puzzles

These are the exact positions our solver met while proving the puzzles below. The board shows everything decided before the step; nothing has been guessed.

Example 1: daily puzzle of 2026-11-27

Nonogram 15×9 · medium · step 8 of 32 · Column 2

The board just before step 8. Column 2 is highlighted; cells marked ? are decided by this step.
column 1 clue 1column 2 clue 3column 3 clue 5column 4 clue 2
4
column 5 clue 7column 6 clue 9column 7 clue 9column 8 clue 9column 9 clue 9column 10 clue 9column 11 clue 7column 12 clue 7column 13 clue 3column 14 clue 5column 15 clue 2
2
row 1 clue 5 unknown to decide unknown unknown unknown unknown unknown unknown unknown unknown unknown unknown unknown unknown unknown
row 2 clue 9 1 unknown to decide unknown unknown filled filled filled filled filled unknown unknown unknown unknown unknown unknown
row 3 clue 10 2 unknown unknown filled filled filled filled filled filled filled filled unknown unknown unknown unknown unknown
row 4 clue 2 10 unknown unknown unknown unknown unknown filled filled filled filled filled filled filled filled unknown unknown
row 5 clue 14 unknown filled filled filled filled filled filled filled filled filled filled filled filled filled unknown
row 6 clue 13 unknown unknown filled filled filled filled filled filled filled filled filled filled filled unknown unknown
row 7 clue 10 2 unknown unknown filled filled filled filled filled filled filled filled unknown unknown unknown unknown unknown
row 8 clue 9 1 unknown to decide unknown unknown filled filled filled filled filled unknown unknown unknown unknown unknown unknown
row 9 clue 5 unknown to decide unknown unknown unknown unknown unknown unknown unknown unknown unknown unknown unknown unknown unknown
Column 2 before and after the step.
123456789
Before (clue 3)unknownunknownunknownunknownfilledunknownunknownunknownunknown
Afteremptyemptyunknownunknownfilledunknownunknownemptyempty

Why: With the cells already decided, the clue 3 fits this column in only 3 way(s). The highlighted cells are the same in every one of them.

Play this puzzle in the archive

Example 2: daily puzzle of 2026-11-28

Nonogram 10×10 · easy · step 12 of 24 · Column 7

The board just before step 12. Column 7 is highlighted; cells marked ? are decided by this step.
column 1 clue 1
1
column 2 clue 3column 3 clue 4
1
column 4 clue 5column 5 clue 6
1
column 6 clue 5column 7 clue 1
4
1
column 8 clue 3
3
column 9 clue 3
4
1
column 10 clue 1
3
row 1 clue 2 unknown empty empty empty empty empty unknown unknown unknown unknown
row 2 clue 4 unknown empty empty empty empty empty unknown unknown unknown unknown
row 3 clue 1 2 unknown empty empty empty filled empty unknown unknown unknown unknown
row 4 clue 3 unknown empty empty filled filled filled to decide unknown unknown unknown
row 5 clue 5 1 unknown empty filled filled filled filled to decide unknown unknown unknown
row 6 clue 9 unknown filled filled filled filled filled filled filled filled unknown
row 7 clue 9 empty filled filled filled filled filled filled filled filled unknown
row 8 clue 10 filled filled filled filled filled filled filled filled filled filled
row 9 clue 0 empty empty empty empty empty empty empty empty empty empty
row 10 clue 1 1 1 1 1 unknown empty filled empty filled empty to decide unknown unknown unknown
Column 7 before and after the step.
12345678910
Before (clue 1 4 1)unknownunknownunknownunknownunknownfilledfilledfilledemptyunknown
Afterunknownunknownunknownemptyfilledfilledfilledfilledemptyfilled

Why: With the cells already decided, the clue 1 4 1 fits this column in only 3 way(s). The highlighted cells are the same in every one of them.

Play this puzzle in the archive

Common mistakes

  • Attaching a filled cell to the wrong block. When a line has several blocks, check which blocks can actually reach a filled cell before deciding anything.
  • Not using ✕ cells. Empty cells split the line into shorter segments. A block cannot fit into a segment shorter than itself, which often decides the segment entirely.
  • Stopping too early. Each new cell in a line can make its crossing line solvable. Gridkoi puzzles often need several passes over the grid, and the number of passes is one of the four factors in their difficulty score.