by adamschwartz · 1y ago · 0 comments
Edit: above tested for 5x5 rows&cols. For even boards it seems there’s a small end-game to repeat the process — something about parity I assume.
For fun you can also, for example, invert any board in N moves by tapping every cell straight across any row or column.
Mathematically I might say that the system's precomputed solution vector is readily apparent.
https://github.com/RaymondTana/Lights_Out/blob/31fe5e866c45c...