Office Break Games
par 0 · 0 moves · 0 lit 0:00

How to play Lights Out

Press a light and it flips, along with its four neighbours: on goes off, off goes on. Switch the whole grid off.

Controls

Click / tap
Press a light
Arrows / WASD
Move the keyboard cursor
Enter / Space
Press the light under the cursor; after a solve, deal the next board
Z / U / Backspace / Ctrl+Z
Undo the last press
R
Restart the board as it was dealt (the clock keeps running)
H
Hint: show one press of the shortest solution
P
Pause and resume (the board is hidden while paused)

How to play Lights Out

Press a light and it flips, along with its four neighbours: on goes off, off goes on. Switch the whole grid off.

Each board shows its par, the fewest presses that solve it. Matching par is the real puzzle. Times count too, but only for solves without a hint.

Rules

  • A press flips the cell and its neighbours above, below, left and right. Edge cells have three neighbours, corners two.
  • The board is solved when every light is off.
  • Order makes no difference, and pressing a cell twice cancels out. Any solution is really a set of cells, each pressed once.
  • Boards are made by pressing random cells of a dark grid, so every one can be solved. A deal is thrown back if its par is under 3 on the 3 × 3, 8 on the 5 × 5 or 16 on the 7 × 7.
  • Three sizes: Warm-up (3 × 3), Classic (5 × 5) and Large (7 × 7). Each saves its own board in progress and keeps its own stats. On the 5 × 5 the Expert level is 3:00 and the Pro level 0:50.
  • The clock starts with your first press or hint and pauses while the tab is hidden. A hint marks one cell of the shortest solution in red; a hinted solve is saved but can’t set a best time.

Controls

Click / tap
Press a light
Arrows / WASD
Move the keyboard cursor
Enter / Space
Press the light under the cursor; after a solve, deal the next board
Z / U / Backspace / Ctrl+Z
Undo the last press
R
Restart the board as it was dealt (the clock keeps running)
H
Hint: show one press of the shortest solution
P
Pause and resume (the board is hidden while paused)

Tips

  • Chase the lights. Work down from the top, and for every light still on, press the cell directly below it. Row after row goes dark until only the bottom row has lights.
  • The lights left on the bottom row tell you which top-row cells to press before you chase again. The strategy notes below have the table for the 5 × 5.
  • To take back a press, use Z rather than pressing the cell again. Undo removes the press from your count; a second press adds one.

Lights Out strategy

Two sizes have one answer

On these two sizes every board has exactly one set of presses that solves it. Any solve where you press each cell at most once is a par solve. If you finish over par, you pressed some cell twice, and each double press costs two moves. Undo takes a press back off the count, but only the latest one, so a double press spotted late is easier to fix with the replay below.

Restart to bank a clean run

Chasing the lights solves the board but usually wanders, pressing some cells twice. Restart clears the presses, though the clock keeps running. So chase once to learn the answer, note which cells you pressed an odd number of times, then restart and press only those. On 3 × 3 and 7 × 7 that replay is par.

The 5 × 5 bottom-row table

After chasing a 5 × 5, only seven bottom-row patterns can remain. Counting cells from the left: lights 1, 2, 4 and 5 lit, press top cell 3. Lights 1, 3 and 4, press top cell 5. Lights 1, 2 and 3, press top cell 2. Lights 2, 3 and 5, press top cell 1. Lights 3, 4 and 5, press top cell 4. Lights 1 and 5, press top cells 1 and 2. Lights 2 and 4, press top cells 1 and 4. Then chase again.

Trimming a 5 × 5 to par

A 5 × 5 board has four solutions, and they differ by patterns that change nothing when pressed. One is columns 1, 3 and 5 in every row except the middle. Another is columns 1, 2, 4 and 5 in rows 1, 3 and 5. If your replay set contains more than half of one of these patterns, swap it: skip the shared cells and press the pattern’s others instead. The result is shorter.

About Lights Out

Tiger Electronics released Lights Out in 1995: a handheld with a 5 × 5 grid of light-up buttons and stored puzzles. It is also a neat piece of maths. Each board is a system of linear equations in which every number is 0 or 1, so it can be solved exactly, or shown to have no solution.

That is how this version knows par: it solves each deal by Gaussian elimination and keeps the shortest answer. A 5 × 5 board always has four solutions, and par is the shortest; a 3 × 3 or 7 × 7 board has exactly one.

Questions

Is every Lights Out board solvable?

Every board here is: each starts dark and is scrambled by random presses, so the same presses clear it. A random pattern of lights is different. On a 5 × 5, only one in four can be solved.

What does par mean in Lights Out?

The fewest presses that solve the board you were dealt, worked out exactly. Match it without a hint and the solve counts under At par in your stats.

How do you solve Lights Out?

Chase the lights: press under every lit cell, row by row, until only the bottom row is lit. That pattern tells you which top-row cells to press before you chase again.

Do hints count against me?

Only for rankings. A solve with a hint is saved in your history, but it can’t set a best time or make your top scores.