def __str__(self):
     return '{0} ({1}:{2} [{3}])'.format(
         super().__str__(),
         self.betting_round_id,
         RoundTypeEnum.to_string(self.round),
         ', '.join(self.cards)
     )
Ejemplo n.º 2
0
 def _encode_specific(self, d):
     super()._encode_specific(d)
     d['Round'] = RoundTypeEnum.to_string(self.round)
     d['BettingRoundId'] = self.betting_round_id
     d['Cards'] = self.cards
Ejemplo n.º 3
0
 def __str__(self):
     return '{0} ({1}:{2} [{3}])'.format(
         super().__str__(), self.betting_round_id,
         RoundTypeEnum.to_string(self.round), ', '.join(self.cards))
 def _encode_specific(self, d):
     super()._encode_specific(d)
     d['Round'] = RoundTypeEnum.to_string(self.round)
     d['PotsAmounts'] = self.pots_amounts
 def __str__(self):
     return '{0} ({1} [{2}])'.format(
         super().__str__(),
         RoundTypeEnum.to_string(self.round),
         ', '.join([x.__str__() for x in self.pots_amounts])
     )
 def _encode_specific(self, d):
     super()._encode_specific(d)
     d['Round'] = RoundTypeEnum.to_string(self.round)
     d['BettingRoundId'] = self.betting_round_id
     d['Cards'] = self.cards