ETCHER

Guide · Solving techniques

How to solve nonograms: techniques

A good nonogram is solved with logic, not luck. These nine techniques take you from the first move on an empty grid to the hardest boards. Each one comes with a small example, checked square by square by Etcher's own solver.

Play a 5×5 puzzle How to play

1. Overlap (simple boxes)

Slide a block as far left as it can go, then as far right. The squares it covers in both positions are filled, wherever the block really lies. This is the first move on almost every puzzle, and it gives the most on long clues in short lines.

7before7after
Clue 7 in 10 squares. Pushed left, the block covers squares 1 to 7; pushed right, squares 4 to 10. Squares 4 to 7 are filled either way.
4 3before4 3after
Clue 4 3 in 10 squares. The 4 always covers squares 3 and 4, and the 3 always covers square 8.

With several clues, pack them all to the left with one empty square between each pair, then all to the right, and compare each block with itself. A quick test: add up the clues plus one gap between each pair. If the total is s squares short of the line, every block longer than s gets filled squares. In the second example 4 + 1 + 3 = 8, two short of 10, so the 4 gets two filled squares and the 3 gets one.

2. Simple spaces

Once a square is filled, the block that covers it can only reach so far. Squares that no block can reach stay empty, so cross them. Crossing matters as much as filling: every cross shortens the space the other blocks have left.

3before3after
Clue 3 with square 5 filled. The block must cover square 5, so it lies somewhere in squares 3 to 7. Squares 1, 2 and 8 to 10 are out of reach.
1 1before1 1after
Clue 1 1 with squares 2 and 6 filled. Both blocks are placed, so every other square is empty.

The same goes for a finished line: when the filled squares already account for every clue, the rest of that line is empty. Mark those crosses straight away, because they are new information for the columns that cross them.

3. Edge forcing

The border of the grid and every crossed square act as walls. A filled square right against a wall has to be the start of a block, so you can draw the whole block at once and close it with a cross.

3 2before3 2after
Clue 3 2 with square 1 filled. The first block starts at the border: squares 1 to 3 are filled and square 4 is crossed to end it.
3 2before3 2after
Clue 3 2 with square 3 crossed and square 4 filled. Squares 1 and 2 are too short for the 3, so the 3 starts at the wall and fills squares 4 to 6, and square 7 closes it. The 2 lies in squares 8 to 10, so overlap fills square 9.

Walls also cut a line into separate spaces. A space that is shorter than every block that could go there stays empty, and a block that has only one space left can use overlap inside that space.

4. Joining and splitting

Two filled squares close together may belong to the same block. If only one block can reach both, fill every square between them. If no block is long enough to cover both, they belong to different blocks and at least one empty square lies between them.

4before4after
Clue 4 with squares 3 and 5 filled. The one block covers both, so square 4 is filled too. The block lies within squares 2 to 6, so square 1 and squares 7 to 10 are empty.
2 2before2 2after
Clue 2 2 with squares 3 and 5 filled. A block of 2 cannot cover three squares, so square 4 splits them. The first 2 must end at square 3 and the second must start at square 5.

Before you join two squares, ask which clues could reach each of them; if they can only belong to the same clue, join them.

5. Glue

When a filled square lies closer to the border than the first clue is long, the first block must cover it, and it cannot start before the border. The block is stuck between the edge of the grid and the filled square, so you can stretch it from that square as far as it surely reaches.

4 2before4 2after
Clue 4 2 with square 2 filled. The 4 must cover it and starts at square 1 or 2, so squares 2 to 4 are filled. Squares 1 and 5 stay open, because the block may start at either square 1 or square 2.

Glue is overlap anchored to the border. It works from any wall, so it also applies to a filled square just after a crossed square, and from either end of the line.

6. Mercury

Mercury is a special case of simple spaces. When a filled square lies exactly one square further from the border than the first clue is long, the first square of the line is empty: a block that started at the border would end right next to the filled square and grow too long.

3 2before3 2after
Clue 3 2 with square 4 filled. If the 3 started at square 1, it would run into square 4 and become a block of 4, so square 1 is empty.

The name comes from the way mercury pulls back from the side of its glass. One cross does not look like much, but it moves the wall one square in, and that often sets off glue or overlap in the same line.

7. Contradiction

Sometimes every row and column is solved as far as it goes and squares are still open. Pick one open square, suppose it is filled or empty, and keep solving lines. If a line ends up impossible, the supposition was wrong and the square is the opposite.

112121241 22 11 11 32
Line logic stops here: every row and column is solved as far as it goes, and 10 squares are still open.
112121241 22 11 11 32
Suppose the top left square is empty and keep solving lines. Row 2 ends up with no way to place its clue.
112121241 22 11 11 32
So the top left square is filled. From that one square, line logic finishes the whole board.

This is not guessing: you only keep a result that is forced. Pick squares where a supposition has quick consequences, such as squares in nearly full lines or next to a block whose place is almost fixed.

8. Line solving order

Start with the lines that say the most: clues that add up close to the length of the line, a 0 that empties a whole line, and long blocks. Then follow the changes. Every square you settle in a row is new information for its column, so look next at the lines you have just touched.

244421 15531Pass 1: rows
244421 15531Pass 2: columns
244421 15531Pass 3: rows
244421 15531Pass 4: columns
A 5×5 puzzle solved with line logic in 4 passes: all rows, then all columns, then the rows and columns again. Ringed squares are new in that pass.

Work through the rows, then the columns, and repeat until nothing changes. The more passes a puzzle needs, the longer its chain of reasoning: Etcher rates its generated puzzles by the rounds of line logic they take.

9. When to guess

A well-made nonogram has exactly one solution, and logic can always find it. If you feel stuck, look for a technique you missed, or test a square by contradiction, before you guess.

42221122 11 131 1Solution 1
42221122 11 131 1Solution 2
These clues fit two solutions. Line logic settles every square except the 4 ringed ones, and both ways to fill them match every clue.

A real guess only makes sense when the clues allow more than one solution: then no logic can decide, and both answers are right. On Etcher that does not happen. Generated puzzles, including the daily puzzles, are built so that line logic alone finishes them, and community levels must have exactly one solution before they can be published. If you do guess on paper, mark the guessed square and everything that follows from it in pencil, so you can undo it all at once.

Practice the techniques

The quickest way to learn them is to play. Start with a 5×5 puzzle, where overlap and edges do most of the work, then move up to 10×10 and 15×15, where joining, glue and mercury start to matter.

Play a 5×5 puzzle 10×10 nonograms All nonograms