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
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)
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)
def __init__(self, rounds, players): ParentTally.__init__(self, rounds) self.pairs = dict() for p in players: self.pairs[p] = 0