Back to Lights Out

Light Chasing: A Worked 4×4 Example

A tap toggles its own light and its direct neighbours; it never changes a diagonal or wraps around an edge. To clear a row, press directly below each light that is on. A press in row 2 changes only one cell in row 1, so you can clear row 1 without undoing another cell there. Then repeat for rows 2 and 3.

Here 1 means on and 0 means off. Number rows from top to bottom and columns from left to right.

Starting board

0 1 0 0
1 1 0 0
1 0 1 1
1 1 1 0

1. Press row 2, column 2. It turns off the light above it in row 1. Row 2 changes too, but you will handle that next.

0 0 0 0
0 0 1 0
1 1 1 1
1 1 1 0

2. Press row 3, column 3. This clears the only remaining light in row 2. Row 1 stays off because this press cannot reach it.

0 0 0 0
0 0 0 0
1 0 0 0
1 1 0 0

3. Press row 4, column 1. This clears the light above it in row 3 and the two lights left in row 4. All 16 lights are now off.

0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0

What if the Last Row Still Has Lights?

On a larger board, one top-to-bottom pass may leave lights in the bottom row. You cannot press below that row, and pressing it directly can light the row above again. A leftover pattern does not prove the board is unsolvable: the campaign boards all start from a solvable position.

For example, on a blank 5×5 board, press row 1, column 1, then chase down without any further first-row presses. The last row becomes 0 1 1 0 1, with the other rows off. The position is solvable because it was made using legal presses, even though this pass did not solve it.

For this specific 5×5 position, with only the bottom row 0 1 1 0 1 lit, press row 1, column 1, then chase the lights down again. This clears the board. The same correction is not a universal key for other sizes or bottom-row patterns.

To finish, you need an appropriate pattern of first-row presses followed by another chase, or a solver move. In the Observatory campaign, Hint marks a lamp from a shortest solution for the current position. You still make the tap yourself.

Two Useful Facts About Presses

Pressing the same cell twice cancels its effect. Also, the order of a fixed set of presses does not change the final pattern. This is why a solution can be described as a set of cells to press once. A solver’s valid set and a shortest set are not necessarily the same.

For the mathematics of the toggle rule, see Wolfram MathWorld’s Lights Out explanation. Return to the puzzle and try chasing one row at a time.