How the Light-Switch Puzzle Genre Began
An introduction to the genre of puzzles in which pressing a light also flips its neighbours, and the mathematics behind it.
This game is original to this site and is not based on any particular commercial title.
How the genre began
In these puzzles, pressing a button flips its own light and the lights above, below and beside it, and the goal is to turn every light off. They have been played on electronic toys and computers. Pressing the same button twice undoes it, so all that matters is whether each button is pressed or not. Because of this, linear algebra with only 0 and 1 can tell whether a position is solvable and how to solve it. On some board sizes, certain positions cannot be solved. [1][2]
About the game on this site
The Light Flip puzzle on this site does not copy any particular title; we made the board sizes and puzzles ourselves, and we only give positions that can be solved.
Sources
- raw.org: Solving the light-switch puzzle with linear algebra
- Carleton University course notes: counting solutions of the light-switch puzzle
Checked on 2026-11-28 — We wrote this text ourselves, based on the sources below. Where sources disagree, or a story is only a legend, the text says so.