Exemple #1
0
class Dealer(Player):
    def __init__(self):
        self.deck = StandardDeck()

    def deal(self, num=1):
        return self.deck.draw(num)

    def shuffle(self):
        self.deck.shuffle()

    def reset_deck(self):
        self.deck.reset()
Exemple #2
0
 def __init__(self):
     self.deck = StandardDeck()