Exemplo n.º 1
0
 def __init__(self, rounds, players):
     ParentTally.__init__(self, rounds)
     self.eliminators = dict()
     self.bumpers = dict()
     for p in players:
         self.eliminators[p] = 0
         self.bumpers[p] = 0
Exemplo n.º 2
0
 def __init__(self, rounds, players):
     ParentTally.__init__(self, rounds)
     self.eliminators = dict()
     self.bumpers = dict()
     for p in players:
         self.eliminators[p] = 0
         self.bumpers[p] = 0
Exemplo n.º 3
0
    def __init__(self, nplayers, num):
        ParentTally.__init__(self, nplayers)
        self._nplayers = nplayers
        self._num = num

        self.mwins = [0] * nplayers
        self.sscore = [0] * (2*(nplayers-1)*num + 1)
        self.swins = [0] * ((nplayers-1) * num + 1)
Exemplo n.º 4
0
    def __init__(self, nplayers, num):
        ParentTally.__init__(self, nplayers)
        self._nplayers = nplayers
        self._num = num

        self.mwins = [0] * nplayers
        self.sscore = [0] * (2 * (nplayers - 1) * num + 1)
        self.swins = [0] * ((nplayers - 1) * num + 1)
Exemplo n.º 5
0
 def __init__(self, rounds, players):
     ParentTally.__init__(self, rounds)
     self.pairs = dict()
     for p in players:
         self.pairs[p] = 0
Exemplo n.º 6
0
 def __init__(self, rounds, players):
     ParentTally.__init__(self, rounds)
     self.pairs = dict()
     for p in players:
         self.pairs[p] = 0