๐ŸŽฎFunzory

Play Lights Out

Every press flips five lights. Turn them all off.

PuzzleFree to playNo download

Moves

0

Best

โ€”

Loading Lights Outโ€ฆ

Loadingโ€ฆ

Controls

  • Click or tap a light to toggle it
  • R deals a new board

About Lights Out

Lights Out was an electronic handheld released in 1995, and it is one of the few puzzle games whose full solution is a piece of linear algebra rather than a heuristic. Every board is a system of equations over the integers modulo two, and the entire game can be solved by Gaussian elimination.

Two consequences of that are worth knowing as a player. First, order never matters โ€” pressing A then B is identical to pressing B then A โ€” so you are choosing a set of cells, not a sequence. Second, pressing a cell twice is the same as never pressing it, which means an optimal solution presses each cell at most once and there are only ever a finite number of distinct solutions.

Not every arrangement of lights on a 5x5 grid is solvable; roughly a quarter of them are not. Our boards are built by starting from all-off and applying random presses, which guarantees a solution exists by construction โ€” the scramble is itself a valid solution run backwards.

The practical technique is called chasing the lights: sweep down the grid turning off each row by pressing the row beneath it, then use the leftover top-row pattern to work out the correct opening presses. It is mechanical once you know it, which is the pleasure of the thing.

Tips for a higher score

  • Order does not matter. The same set of presses gives the same result whatever sequence you use them in.
  • Pressing the same light twice cancels out, so every solution presses each light either once or not at all.
  • Use chase-the-lights: work down the grid pressing the cell directly beneath any lit light, until only the top row can still be wrong.
  • After chasing, the pattern left in the top row tells you exactly which top-row cells to press โ€” then chase again.
  • Easy boards are usually four presses or fewer, so if you are past ten, you are undoing your own work.

Frequently asked questions

Is every board solvable?

Yes. Boards are generated by pressing random cells on an all-off grid, so the scramble itself is a solution. About a quarter of arbitrary 5x5 patterns would not be solvable.

Does the order of my presses matter?

No. Toggling is its own inverse and presses commute, so only the set of cells you press matters, not the sequence.

What is the fewest possible moves?

It depends on the board, but never more than fifteen on a 5x5 grid. Our Easy boards are scrambled with four presses, so four is usually achievable.

More games like this