Nonograms · Solving guide

Nonograms: how far a filled square reaches

Overlap is the first thing most players learn in Nonograms, and it runs out quickly. A clue of 3 in a row of six has no overlap at all, so the row looks untouchable until something else happens. Usually that something is a single filled square handed over by a crossing column. It seems like a small gain, but one filled square limits how far the run can stretch, and everything beyond that limit is empty.

Why a short run gives you nothing at first

In an empty row of six, a run of 3 can start at square 1, 2, 3 or 4. Pushed left it covers squares 1 to 3, pushed right it covers 4 to 6, and those two positions share no square. With nothing in common there is no overlap, and every square in the row is still undecided.

That is not a dead end. It only means this row has to wait for a crossing column to tell it something. The moment one of its squares is known to be filled, the four possible positions shrink to the few that include that square.

Measure the reach from a filled square

Suppose a column tells you that square 2 of that row is filled. The run of 3 has to include square 2, so it can start at square 1 or square 2, and nowhere else. Starting at square 3 or later would leave square 2 outside the run.

Both surviving positions fill squares 2 and 3, and neither reaches square 5 or 6. So you can fill square 3 and mark squares 5 and 6 with ×. Squares 1 and 4 stay undecided, because one position uses square 1 and the other uses square 4.

The general rule is that a run of length L that includes a filled square can stretch at most L minus 1 squares either side of it. Anything further away cannot belong to that run. When the row has only one clue, anything the run cannot reach is empty.

The wall makes this sharper. If the filled square is square 1, the run has nowhere to go but right, so squares 1 to 3 are filled and square 4 is ×. A filled square touching the edge of the grid always tells you exactly where its run is.

A six-square row with the clue 3 and square 2 filled. Starting at square 1 fills squares 1 to 3. Starting at square 2 fills squares 2 to 4. Both fill squares 2 and 3, and both leave squares 5 and 6 empty. The certain row reads: undecided, filled, filled, undecided, empty, empty.
With square 2 filled, a run of 3 can only start at square 1 or 2. Squares 5 and 6 are out of reach.

Ask which run owns the square

With two or more clues, a filled square could belong to any of the runs, and the reach rule only applies once you know which. Take a row of six with the clues 1, 2 and square 3 filled.

If square 3 is the 1, then the 2 has to come after it with a gap, so it fills squares 5 and 6. If square 3 is part of the 2, the 2 can only be squares 3 and 4, because squares 2 and 3 would leave no room for the 1 and its gap. Those are the only two arrangements, and both leave square 2 empty. Mark it with ×.

That result surprises people. The certain square here is an empty one right next to the filled square, while every other square in the row is still open. Checking both owners one at a time is how you find it.

A six-square row with the clues 1, 2 and square 3 filled. If the 2 owns square 3, the row is filled, empty, filled, filled, empty, empty. If the 1 owns square 3, the row is empty, empty, filled, empty, filled, filled. Both have square 2 empty. The certain row reads: undecided, empty, filled, undecided, undecided, undecided.
Square 3 might be the 1 or part of the 2. Either way, square 2 is empty.

A worked 6 by 6 board

The rows of this board, top to bottom, have the clues 3; 4; 2; 1 3; 4 1; and 2 1. The columns, left to right, have 1 1; 1 3; 2 2; 5; 1 2; and 3. It has exactly one solution, and every step below is forced by the clues.

Start with the columns. Column 4 has a run of 5 in six squares, so rows 2 to 5 are filled whichever way it sits. Column 2 has 1, 3: the 3 fits only in rows 3 to 5 or 4 to 6, so rows 4 and 5 are filled. Column 3 has 2, 2, which takes five of its six squares, and every arrangement fills rows 2 and 5.

Now row 3, clue 2. On its own it had no overlap. Column 4 has just given it square 4, so the 2 is either squares 3 and 4 or squares 4 and 5. Squares 1, 2 and 6 are out of reach: mark all three with ×.

Row 4, clues 1 3, now has squares 2 and 4 filled. Ask which run owns square 2. If it were part of the 3, the 1 and its gap would need room to its left, and there is only square 1. So square 2 is the 1. The 3 must start at least two squares later and still include square 4, so it is squares 4 to 6, and squares 1 and 3 are empty. Row 5, clues 4 1, needs four squares, a gap and one more, which is all six: filled, filled, filled, filled, ×, filled.

One more column pass and one more row pass finish the board, using the same two questions each time: which run can own this square, and how far can it reach.

Two copies of a 6 by 6 Nonograms board. Row clues: 3; 4; 2; 1 3; 4 1; 2 1. Column clues: 1 1; 1 3; 2 2; 5; 1 2; 3. After the columns, column 4 is filled in rows 2 to 5, column 2 in rows 4 and 5, and column 3 in rows 2 and 5. After the rows, row 3 has squares 1, 2 and 6 marked empty around its filled square 4, row 4 reads empty, filled, empty, filled, filled, filled, and row 5 reads filled, filled, filled, filled, empty, filled.
Left: what the columns give on their own. Right: the rows use those squares, with row 3 outlined.

The mistake to avoid

The common slip is treating a filled square as the start of its run. In row 3 of the board, square 4 is filled, and it is tempting to fill square 5 straight away as though the run began there. It might equally be squares 3 and 4. The reach rule tells you what is empty, not which way the run goes.

Leave squares 3 and 5 undecided and let column 5 settle it. On the next column pass it does: column 5 fills row 3, so the run is squares 4 and 5, and square 3 becomes ×.

On HubbardGames, a clue turns green once its line is complete, and tapping it marks that line's remaining squares with ×. That is quicker than marking each one, but only once every filled square in the line is right.

Put it into practice

Try an Easy Nonograms Library puzzle and look for one deduction from this guide.

Play a Nonograms board

Sign in or create an account to save your progress.

More to explore

Four Colour · Solving guide

Four Colour: start where three colours already meet

On a Four Colour board, a region that touches three different fixed colours has only one colour left. Colour it and the next region often corners itself the same way. An original five by five board where one such region settles four of the five open regions, checked by trying every possible colouring.

Read the guide →

Colour Fields · Solving guide

Colour Fields: a full field fences itself in

In Colour Fields, the moment a field reaches its number every square touching it has to take the other colour. An original five by five board where a 1, a 2, two 4s and a 7 each close in turn, checked by trying every possible colouring.

Read the guide →

Pairs · Solving guide

Pairs: a placed domino crosses out its copies

When a Pairs board stops giving you forced cells, look at the dominoes already placed. Each pair appears once, so every other place its digits touch is dead, and that can leave a cell with one partner. A worked example, checked against the game's solver.

Read the guide →

HubbardGames guide

Per-game standings: where you rank in one game

Tap a game's icon on the Board and you get a table for that game alone: today's field with results and hints, and an all-time table ranked on average points per day finished. Where it lives, what each column means, what it leaves out, and four invented Bridges days where the fastest player comes third.

Read the guide →