Memorize which cells are white when the board first loads. Tap all of those in order without regard to the way the board changes as you go.
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.