Light Switch
every press flips its neighbours — switch them all off

Play Light Switch — Maths Puzzle

00:00
Tap to pressGreen dot = pressedPress twice = undo

How to play Light Switch

Every square is a light, and every light is a switch. Pressing a square flips it — on becomes off, off becomes on — and flips its neighbours too.

Two facts make it a maths puzzle: pressing the same square twice puts everything back, and the order of presses doesn’t matter. So every solution is just a set of squares, each pressed once.

A good method is to “chase the lights”: for each light that is on, press the square below it, working down row by row. Whatever is left in the bottom row tells you which top-row squares to press first.

How to play Light Switch

Each press flips a square and its neighbours — find the presses that switch every light off.

The rules

  1. The board is a grid of lights, some on and some off.
  2. Pressing a square flips it and its neighbours: above, below, left and right (or all eight around it, on the 3×3 block setting).
  3. The puzzle is solved when every light is off.

Playing here

  1. Choose a board, a switch shape and a difficulty, then press New Puzzle.
  2. Tap a square to flip it and its neighbours. Hover to preview what a press will flip.
  3. Pressed squares get a small green dot — pressing a square twice undoes it.
  4. Hint tells you the next press on the shortest way from where you are.

Tips

The full guide, with a worked example and common mistakes: How to play Light Switch.

Questions

Can every pattern be switched off?

On some boards, yes; on others (5×5 with plus-shaped switches, for example) only about a quarter of all patterns can. Every puzzle the game makes is solvable.

What do the green dots mean?

They mark the squares you have pressed an odd number of times — handy for spotting double presses.

What is the shortest solution?

The solver finds the fewest presses by solving the light equations mod 2 and trying the few free choices.

How do I solve one from a book?

Open the Light Switch Solver, set the lights and press Solve.

Related