Write Deck and Card as objects