def __init__(self, players, width=5, height=5, extra=50, wc=WinType.ROW | WinType.COL | WinType.DIAG): Game.__init__(self, players) self.lotto = Lotto.getLotto(width, height, extra) for player in self.players: player.createBoard(width, height, extra) player.wc = wc
def __init__(self, players, max_score=19, max_turns=5): Game.__init__(self, players) self.max_turns = max_turns self.max_score = max_score for player in self.players: player.score = 0