Пример #1
0
 def __init__(self):
     self.random = MyRand(123)
     self.round = 0
     self.players_money = [0] * get_players()
     self.sumof_bit_bellow_values = 0  # sum of all bit_below_values that won
     self.behaviours = {
         1: [
             0, self.allin
         ],  # first value is the winning counter of this behaviour in the specific auction.
         0.5: [0, self.halfin],
         "not specific value": [0, self.bit_below],
         0: [0, self.zero]
     }
Пример #2
0
 def __init__(self):
     self.dollar = 0
     self.random = MyRand(123)
Пример #3
0
 def __init__(self):
     self.players_money = [0] * get_players()
     self.random = MyRand(123)