The object of the game is to get all the top cards of the flip piles to be the same color; either all the cards red, or all the cards black.
The game begins with two cards on each of the 16 flip piles, and the remaining 20 cards in the deck. You can swap the top card and the bottom card of any flip pile by clicking on it.
Clicking on the bottom of the deck will deal the next 16 cards onto the flip piles. You can still swap the top card with the bottom card of a flip pile by clicking on it.
The remaining four cards in the deck (which are face up) can be dragged onto any flip pile that you choose.
If you manage to get all the top cards of the flip piles the same color, then you have successfully completed the game.