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()
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)
def clear_pay_info(self): self.pay_info = PayInfo()
def setUp(self): self.info = PayInfo()