Nonogram techniques that solve any grid without guessing

Nonogram · techniques

Nonogram techniques all come from one idea: find the cells that are filled, or empty, in every arrangement that fits the clue. Here is each one with its arithmetic and a worked grid.

PLAY PRINTSHOP IN YOUR BROWSER

What this guide covers

These nonogram techniques are the ones that carry a solver from a first 5×5 to a large grid. The puzzle goes by many names, Picross, Hanjie, Griddlers and paint by numbers among them, and the logic is the same under all of them.

Every technique asks one question of a single row or column: which cells come out the same in every arrangement that fits the clue? Those cells are certain. Everything else waits.

The rules

01
Clues are runs of filled cells. A clue of 3 1 means a run of three, then a run of one, in that order, left to right or top to bottom.
02
Runs keep apart. At least one empty cell separates two runs in the same line.
03
Rows and columns agree. Each cell belongs to one row and one column, and the finished grid satisfies both sets of clues.

How to solve nonograms

1. The overlap method

Push a run as far left as it goes, then as far right. Any cell it covers both times is filled, wherever the run ends up.

The arithmetic saves you the sliding. Add up the runs plus one gap between each pair. Subtract that from the line length. The result is the slack: how far everything can shift. A run longer than the slack has certain cells, and the number of them is the run minus the slack.

Worked example: overlap in a row of ten

6 PUSHED LEFT6 PUSHED RIGHTFILLED EITHER WAY

A single run of 6 in ten cells has a slack of 10 − 6 = 4. Six minus four is two, and the two certain cells are the fifth and sixth.

3 4 PUSHED LEFT3 4 PUSHED RIGHTFILLED EITHER WAY

With the clue 3 4, the runs and their gap need 3 + 1 + 4 = 8 cells, so the slack is 2. The run of 3 beats the slack by one: cell 3 is certain. The run of 4 beats it by two: cells 7 and 8 are certain.

A lone clue of 4 in the same row has a slack of 6. The run is shorter than the slack, so nothing is certain yet.

One caution. A cell only counts if the same run covers it both times. Where the first run pushed right meets the second run pushed left, that is not an overlap.

2. Edge logic

A filled cell at the edge of a line starts or ends a run, so you can count the whole run out from the wall. In a row of eight with the clue 3, a filled first cell means cells 1 to 3 are filled and everything after is empty.

Near the edge is nearly as good. If the second cell is filled instead, the run of 3 has to include cell 3 as well, and it cannot reach past cell 4. Cells 5 to 8 are empty.

A known empty cell is a wall too. Clue 3 in a row of ten, cell 7 empty, cell 8 filled: the run has only one place to go, cells 8 to 10.

3. Completing and capping runs

When a run reaches its full length, mark the cell on each side as empty. When every run in a line is complete, mark everything left over. These caps look like housekeeping, but they are what the crossing lines need to make progress.

4. Marking cells out of reach

A filled cell limits how far its run can stretch. Clue 4 in a row of ten, with cell 5 filled: the run lies somewhere between cells 2 and 8. Cells 1, 9 and 10 are out of reach and can be marked empty before you know anything else.

5. Joining and splitting

Two filled cells with a gap between them either belong to one run or to two. The clue decides.

Joining: clue 5 in a row of ten, with cells 3 and 5 filled. There is only one run, so both cells are part of it and cell 4 is filled too. The run now cannot reach cell 8, so cells 8 to 10 are empty.

Splitting: clue 2 2 in a row of ten, with cells 4 and 6 filled. Filling cell 5 would make a run of three, which no clue allows. So cell 5 is empty, the runs are cells 3 to 4 and 6 to 7, and the rest of the row is empty.

6. Switching between rows and columns

Every cell you settle is fresh evidence for the line that crosses it. Sweep the rows, then the columns, and repeat. Start each sweep with the biggest clues and the fullest lines. When a line gives nothing, leave it and come back after one of its cells has changed.

Worked example: a full 5×5

1  1553124442

Full lines. Rows 2 and 3 have the clue 5, so they fill completely.

Capping. Columns 1 and 5 have the clue 2 and now hold two filled cells each. They are complete: mark their other three cells empty.

Overlap. Columns 2, 3 and 4 have the clue 4. The slack is 1, so three cells are certain in each: rows 2, 3 and 4. The new ones are drawn in orange. Row 4 now holds its run of three and is complete.

The board above shows the grid at this point. Two more steps finish it.

Row 1. Its clue is 1 1 and its end cells are empty. Three cells remain, and two single cells need a gap between them, so they sit in columns 2 and 4 with column 3 empty.

Finishing. Columns 2 and 4 now hold four filled cells from the top, so their last cell is empty. Column 3 is empty at the top, so its run of 4 fills rows 2 to 5. Row 5 has its single cell.

1  1553124442
Solved, with no guess at any point

Common mistakes

How Printshop plays it

Printshop is the nonogram in Mundane Games. You ink the cells the clues prove, mark the known gaps with an ×, and a picture rolls off the riso press when the last cell lands.

There is one daily print, the same for everyone in the world, worth up to 100 points towards the weekly league. Every print is solvable by logic alone, and there is a hint to save you when you are stuck. Premium adds Unlimited: any difficulty, as many prints as you like. You can play Printshop in your browser without an account.

Questions

Are nonograms, Picross, Hanjie and Griddlers the same puzzle?
Yes. They are different names for the same picture logic puzzle. The clues, the rules and the techniques are shared.
Can every nonogram be solved without guessing?
A well-made one can. Every cell follows from the clues, although harder grids need you to combine what a row and a column say about the same cell.
Where should I start a nonogram?
With the lines that are fullest. A clue that uses the whole line is solved at once, and any run longer than half the line has certain cells in the middle.
How does the overlap method work?
Work out the slack: line length minus the runs and the gaps between them. Any run longer than the slack has certain cells, as many as the run exceeds the slack by.
Why mark empty cells?
Because an empty cell is a fact, the same as a filled one. It shortens the space a run can sit in, which is often what makes the next overlap appear.
Mundane Games is five original daily puzzles with a league every week, on iOS and web.
PLAY TODAY'S PUZZLES GET IT ON THE APP STORE