コード例 #1
0
 def __init__(self, uuid, initial_stack, name="No Name"):
     self.name = name
     self.uuid = uuid
     self.hole_card = []
     self.stack = initial_stack
     self.round_action_histories = self.__init_round_action_histories()
     self.action_histories = []
     self.pay_info = PayInfo()
コード例 #2
0
 def __init__(self, uuid, initial_stack, name="No Name"):
     self.name = name
     self.uuid = uuid
     self.hole_card = []
     self.stack = initial_stack
     self.round_action_histories = self.__init_round_action_histories()
     self.action_histories = []
     self.pay_info = PayInfo()
     self.too_poor = False  # If the player is too poor to participate (ie cannot bet the blind amount, then it should be forced to FOLD)
コード例 #3
0
 def clear_pay_info(self):
     self.pay_info = PayInfo()
コード例 #4
0
ファイル: pay_info_test.py プロジェクト: neo-godlike/pokerbot
 def setUp(self):
     self.info = PayInfo()