AbraCalc

Lights Out Puzzle Game

Toggle all lights off! Clicking a cell flips it and its neighbours. Classic puzzle.

Click cells to toggle lights!
Embed this tool on your site
Cite this tool

APA

AbraCalc. (2026). Lights Out Puzzle Game [Online calculator]. Retrieved from https://abracalc.com/game/lights-out/

BibTeX

@misc{abracalc-lights-out, author = {AbraCalc}, title = {Lights Out Puzzle Game}, year = {2026}, howpublished = {\url{https://abracalc.com/game/lights-out/}} }

Did this tool answer your question?

How to play

  1. Click any lit (amber) or dark cell to toggle it and its 4 neighbours.
  2. Goal: turn ALL cells dark (off) at the same time.
  3. Think ahead — each click affects up to 5 cells at once.
  4. Click 'New Puzzle' for a freshly shuffled, always-solvable board.

Toggle all lights OFF. Clicking a cell flips it and its 4 adjacent neighbours. Every puzzle is solvable!

How it works

Lights Out is a classic combinatorial puzzle where every cell on the grid is either lit or dark. When you click a cell, that cell and each of its direct neighbors (up, down, left, right) toggle their state. The goal is to turn every light off.

The puzzle originated in a 1995 handheld game by Tiger Electronics and has been studied in linear algebra over the field GF(2). Every position can be analyzed to determine whether it is solvable, and there is always a minimum-move solution you can find by working methodically rather than randomly.

A good first strategy is to ignore the top row, solve each subsequent row by clicking cells in the row directly below any light that remains on, then handle the top row last using known solution patterns. With practice, you will recognize which top-row clicks fix a given bottom residual.

Use this puzzle to train logical deduction, give your brain a quick workout during a break, or explore how neighbor-toggle puzzles work before tackling harder variants with larger grids.

Worked example

Clear a 5x5 board starting from the second row

  1. Look at row 1: identify every cell that is lit.
  2. For each lit cell in row 1, click the cell directly below it in row 2 to turn off that row 1 light.
  3. Repeat moving down: each row cleans up the row above it.
  4. After processing row 4, check which lights remain in row 0.
  5. Apply the known top-row fix pattern that corresponds to the residual.

All lights are off and the puzzle is solved.

Common mistakes to avoid

  • Clicking the same cell repeatedly hoping things will change — each pair of clicks cancels out and wastes moves.
  • Forgetting that clicking an edge cell has fewer neighbors, so the toggle effect spreads to fewer squares than expected.
  • Trying to fix lights bottom-up instead of top-down, which makes the propagation much harder to track.

Key terms

Toggle
Switching a cell from on to off, or off to on, with a single click.
Neighbor
A cell that shares an edge (not a corner) with the clicked cell.
GF(2)
The two-element mathematical field {0,1} used to analyze Lights Out puzzles; toggling twice returns to the original state.

Frequently asked questions

Why does clicking one cell flip others?
That's the core mechanic — each click toggles the clicked cell plus its up/down/left/right neighbours.
Are all puzzles solvable?
Yes — puzzles are generated by starting from a solved state and applying random valid moves, guaranteeing solvability.