WOLFRAM|DEMONSTRATIONS PROJECT

Lights Out Puzzle

​
size
new game
board without boundaries
Clicking a square in the grid changes the color of the square and its four vertically and horizontally adjacent neighbors. The object of the game is to to turn all the lights out, i.e., make all the squares black. Generate a new game with random initial conditions with the new game slider. If you play on a board without boundaries, clicks at edges affect pseudo-neighbors at opposite edges. Note that not all initial configurations are solvable.