In lights out, your objective is to turn off every light on the board. Clicking a square turns it off, but also toggles the state of the buttons on its sides. The game board is checked against "quiet patterns", to ensure solvability before presenting to the player. For more info on the math behind Lights Out, visit https://www.jaapsch.net/puzzles/lights.htm
Lights out can be played at https://jfn4th.github.io/lights-out/