card-based win logic