예제 #1
0
파일: debracket.py 프로젝트: Arzar/aligulac
 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
예제 #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
예제 #3
0
파일: rrgroup.py 프로젝트: TheBB/simul
    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)
예제 #4
0
파일: rrgroup.py 프로젝트: alendit/simul
    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)
예제 #5
0
파일: mslgroup.py 프로젝트: alendit/simul
 def __init__(self, rounds, players):
     ParentTally.__init__(self, rounds)
     self.pairs = dict()
     for p in players:
         self.pairs[p] = 0
예제 #6
0
파일: mslgroup.py 프로젝트: TheBB/simul
 def __init__(self, rounds, players):
     ParentTally.__init__(self, rounds)
     self.pairs = dict()
     for p in players:
         self.pairs[p] = 0