Lights Out

Lights Out is a puzzle game played on a grid of illuminated buttons. It starts with a random mix of lit and unlit buttons. Pressing a button toggles a cluster of nearby lights. The goal is to turn them all off.

The controls perform these functions:

● Mix
Scrambles the puzzle.
● Solve
Reveals the solution.
● Edit
Allows custom light configurations, not all of which are solvable. When pressed, the Solve button will shake if there is no solution.
● Config
Permits grid size and toggle pattern adjustment.