import Foundation struct PlayableCard { let card: Card var isPlayable: Bool var cardInfo: CardInfo { .init(card: card.id, playable: isPlayable) } }