Flip the cards, find every pair, and clear the board in as few moves as possible.
Match pairs to clear the board.