X + Y Card Flipping Interactive Demo

Rules: click any red card to flip it; the one to the right will also flip

Expected result: no matter the order, you'll eventually flip all cards

Number of cards:
Go!