Nonogram line logic
Line logic solves a Nonogram one row or column at a time. A line's clue lists its shaded runs in order; if every way to place those runs, around the cells already known, shades a cell, the cell is shaded, and if none does, it stays empty.
How it works
Line logic: The clue of the highlighted line is enough on its own to decide the marked cells.
The quickest form is the overlap. Push all runs as far left as they go, then as far right. Where a run covers the same cells in both positions, those cells are shaded whatever happens. A 7 in a line of 10 always covers the middle four.
The same idea works near known cells: a shaded cell close to the edge pulls its run with it, and a gap too short for any run stays empty. Rows and columns feed each other, so go back and forth.
How to spot it
- Start with lines whose clue numbers and gaps add up close to the line length.
- Place every run as far left as possible, then as far right, and shade the cells a run covers both times.
- Mark cells no run can reach as empty, then switch to the crossing lines.
Where you meet it
Hints name this technique in these puzzles, from this level up:
Related techniques
- Minesweeper: countingCount the mines still missing around an opened cell or on the whole board. If none remain, the other covered cells are safe; if every covered cell is needed, they are all mines.
- Takuzu line logicEvery way to finish this line without three alike and with half of each agrees on the marked cells.