def add_maki(self): for i in range(12): self.cardDeck.append(Card("Maki(2)")) for i in range(8): self.cardDeck.append(Card("Maki(3)")) for i in range(6): self.cardDeck.append(Card("Maki 1)"))
def add_nigiri(self): for i in range(10): self.cardDeck.append(Card("Salmon Nigiri (+2)")) for i in range(5): self.cardDeck.append(Card("Squid Nigiri (+3)")) for i in range(5): self.cardDeck.append(Card("Egg Nigiri (+1)"))
def add_wasabi(self): for i in range(4): self.cardDeck.append(Card("Wasabi (3x next nigiri)"))
def add_pudding(self): for i in range(10): self.cardDeck.append(Card("Pudding (Most +6, Least -6)"))
def add_dumplings(self): for i in range(14): self.cardDeck.append(Card("Dumpling (/1, 2, 3, 4, 5+)"))
def add_sashimi(self): for i in range(14): self.cardDeck.append(Card("Sashimi (/3)"))
def add_tempura(self): for i in range(14): self.cardDeck.append(Card("Tempura", "(/2)"))
def __init__(self, name): self.name = name self.cards = [] self.points = 0 self.last_card = Card("blank") self.points_dict = {}
def from_str(s): card = Card.from_str(s) return BlackjackCard(card, True)