Lights Out Puzzle

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.



  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.