Grid cells are indexed from 0 at the top-left, increasing across each row, then continuing on the next row:
A fill dims when its enumeration is cleared: a red pick clears earlier green picks at equal or higher numbers; a green pick clears red picks at equal or higher numbers, including the red pick from the same stage. Passing clears nothing.
Player-2 is to keep his choices evenly distributed relative to those of player 1.
Set Load from 3 to 8 using the slider. The current value applies when a stage ends, after player-2 picks or passes.
Rules
Player 1 wins when either uncleared count exceeds Load at the end of a stage.
Player 2 wins if he has not lost at the end of the final stage, after player-1 has picked all cells and player-2 has picked or passed.
Press Auto1 to play as player-2 against a random-picking player-1. Loop starts or resumes random automatic play, while Step advances it by one turn (a pick or pass). In automatic play, stages start at 1, with one red pick followed by a green pick or pass. Player-2 only picks at stages divisible by 3, choosing a legal pair with both indices strictly below the largest uncleared red index; otherwise he passes. GIF downloads the recorded play as both an animated GIF and an animated SVG when it is paused.