Determine winner in optimal-play card game | Affirm