WOLFRAM NOTEBOOK

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.
Wolfram Cloud

You are using a browser not supported by the Wolfram Cloud

Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.


I understand and wish to continue anyway »

You are using a browser not supported by the Wolfram Cloud. Supported browsers include recent versions of Chrome, Edge, Firefox and Safari.