Exemple #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)"))
Exemple #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)"))
Exemple #3
0
 def add_wasabi(self):
     for i in range(4):
         self.cardDeck.append(Card("Wasabi (3x next nigiri)"))
Exemple #4
0
 def add_pudding(self):
     for i in range(10):
         self.cardDeck.append(Card("Pudding (Most +6, Least -6)"))
Exemple #5
0
 def add_dumplings(self):
     for i in range(14):
         self.cardDeck.append(Card("Dumpling (/1, 2, 3, 4, 5+)"))
Exemple #6
0
 def add_sashimi(self):
     for i in range(14):
         self.cardDeck.append(Card("Sashimi (/3)"))
Exemple #7
0
 def add_tempura(self):
     for i in range(14):
         self.cardDeck.append(Card("Tempura", "(/2)"))
Exemple #8
0
 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)