Exemplo n.º 1
0
 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)"))
Exemplo n.º 2
0
    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)"))
Exemplo n.º 3
0
 def add_wasabi(self):
     for i in range(4):
         self.cardDeck.append(Card("Wasabi (3x next nigiri)"))
Exemplo n.º 4
0
 def add_pudding(self):
     for i in range(10):
         self.cardDeck.append(Card("Pudding (Most +6, Least -6)"))
Exemplo n.º 5
0
 def add_dumplings(self):
     for i in range(14):
         self.cardDeck.append(Card("Dumpling (/1, 2, 3, 4, 5+)"))
Exemplo n.º 6
0
 def add_sashimi(self):
     for i in range(14):
         self.cardDeck.append(Card("Sashimi (/3)"))
Exemplo n.º 7
0
 def add_tempura(self):
     for i in range(14):
         self.cardDeck.append(Card("Tempura", "(/2)"))
Exemplo n.º 8
0
 def __init__(self, name):
     self.name = name
     self.cards = []
     self.points = 0
     self.last_card = Card("blank")
     self.points_dict = {}
Exemplo n.º 9
0
 def from_str(s):
     card = Card.from_str(s)
     return BlackjackCard(card, True)