Refine cards array with solution