Match everything to win.
You scale the system up: bigger grid, complete reset flow, and win condition.
Open the code and try the variant ideas listed in comments near the bottom.