def newRound(self): # start round self.pot = 0 self.deck = game.newHand() random.shuffle(self.deck) self.showRoundStart() for player in self.players: player.resetHand() while self.deck: # still has cards self.newTurn() # end round self.showRoundEnd()
def resetHand(self): self.hand = game.newHand()