Lights Out Puzzle

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

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




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.