Turn off every light on the grid. Tapping a cell flips it and its orthogonal neighbors.
Tapping the center flips itself plus its four orthogonal neighbors.
Tip
Lights Out puzzles are classical GF(2) linear algebra problems, training constraint-based planning and abstract pattern reasoning.