# Line solving (nonograms)

> Line solving is the core nonogram technique. Work on one row or column at a time, find cells that must be filled or empty in every possible arrangement, then switch direction.

URL: https://www.jessie-games.com/glossary/line-solving

Used in: Nonogram

**Line solving** means solving a nonogram one line at a time. For a single row or column, you look at its [clue](https://www.jessie-games.com/glossary/clue) and the cells you already know, and work out which cells must be filled (or empty) in **every** possible arrangement of the runs. Those cells are certain. Then you switch to the crossing columns or rows, which now have new information.

## On Jessie Games

Every [Nonogram](https://www.jessie-games.com/games/nonogram) on Jessie Games is checked so that it can be solved line by line with pure logic. That also means it has exactly one solution, and you never need to guess.

## The overlap method

Slide a run as far left as it can go, then as far right. Cells covered in both positions must be filled.

**Example:** A 10-cell row has the clue **7**. Pushed left, the run covers cells 1 to 7. Pushed right, it covers cells 4 to 10. Cells 4 to 7 are filled either way, so fill them now.

## Other line tricks

- **Add it up.** Add the runs plus one gap between each. If the total equals the line length, there's only one arrangement. A clue of **4 5** in a 10-cell row (4 + 1 + 5 = 10) fills the whole row except cell 5.
- **Empty lines.** A row with no clue is all empty. Cross it out.
- **Edges.** A filled cell touching the border must belong to the first (or last) run, so extend it to that run's length.
- **Cross out generously.** Once a run is complete, cross the cells on either side. Jessie Games helps here: when a line is finished, its remaining cells are crossed off for you.

## Tip

Bounce between rows and columns. Every cell you settle in a row is new information for its column.
