Get all top cards of flip stacks to be same color. Either all cards red or all cards black.
Tap on flip piles to swap the top and bottom card. Tap on the stock to deal to the flip stacks. Flip stacks can still be flipped. The last four stock cards can be dragged to any flip stacks.