Lights Out Puzzle

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
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.
Contributed by: Michael Schreiber (March 2011)
Open content licensed under CC BY-NC-SA
Snapshots
Details
detailSectionParagraphPermanent Citation
"Lights Out Puzzle"
http://demonstrations.wolfram.com/LightsOutPuzzle/
Wolfram Demonstrations Project
Published: March 7 2011