Implement 2-card matching.