By Noyon Rahman · Updated August 2026 · Reviewed for accuracy against the live game
Flip the Lights is one of the most elegant logic puzzles ever invented. Tiger Electronics released the handheld version in 1995, and it became an instant phenomenon — but the mathematics behind it goes back further, to a puzzle called the "Button Madness" described in the 1980s. The rules fit in one sentence: clicking a lamp toggles it along with the four lamps directly beside it, and you must switch every lamp off. The reason it is so addictive is that every move you make undoes progress somewhere else, so solving it requires thinking in combinations rather than steps. Underneath, it is a problem in linear algebra over two elements — which is a formal way of saying that guessing will not get you very far.
Each square in the grid is a lamp that can be either on or off. Click any lamp and it flips: if it was on it turns off, and if it was off it turns on. The same click also flips the lamp directly above, below, left, and right of it. Your objective is simple to state and satisfying to achieve — get every single lamp into the off state. A move counter tracks how many clicks you have used, and because the puzzle is solvable by construction, a solution always exists. The hint button reveals one lamp you can click as part of a genuine solution, though using it adds a move to your total. Undo steps back one move at a time (clicking the same lamp again reverses it exactly), and restart returns the puzzle to its starting layout so you can try a different approach.
Not every arrangement of lights is solvable in general — on a 5×5 grid about a quarter of all configurations have no solution at all. That is why every puzzle here is built by starting from a fully dark board and applying random clicks, which guarantees a solution exists.
It solves the current board mathematically and highlights one lamp that belongs to a genuine solution, so the move it shows always leads somewhere. Using a hint counts as one move, so it costs you a little on the score but never wastes your time.
It varies by puzzle, but because no lamp ever needs clicking twice, the maximum useful number of moves equals the number of squares — 25 on the classic board. Most generated puzzles need somewhere between five and fifteen clicks.
This game is part of the free collection at Zapludo — play more free online games instantly in your browser, no downloads required.
Enjoyed Flip the Lights? Browse the full Puzzle games collection or explore all free online games at Zapludo.