How to use the axelrod.Player.reset function in Axelrod

To help you get started, we’ve selected a few Axelrod examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Axelrod-Python / Axelrod / axelrod / strategies / hunter.py View on Github external
def reset(self):
        Player.reset(self)
        self.cycle = None
github Axelrod-Python / Axelrod / axelrod / strategies / meta.py View on Github external
def reset(self):
        Player.reset(self)
        # Reset each player as well
        for player in self.team:
            player.reset()
github Axelrod-Python / Axelrod / axelrod / strategies / adaptive.py View on Github external
def reset(self):
        Player.reset(self)
        self.scores = {C: 0, D: 0}
github Axelrod-Python / Axelrod / axelrod / strategies / apavlov.py View on Github external
def reset(self):
        Player.reset(self)
        self.opponent_class = None
github Axelrod-Python / Axelrod / axelrod / strategies / calculator.py View on Github external
def reset(self):
        Player.reset(self)
        self.joss_instance = Joss()
github Axelrod-Python / Axelrod / axelrod / strategies / apavlov.py View on Github external
def reset(self):
        Player.reset(self)
        self.opponent_class = None
github Axelrod-Python / Axelrod / axelrod / strategies / hunter.py View on Github external
def reset(self):
        self.countCC = 0
        self.countDD = 0
        Player.reset(self)
github Axelrod-Python / Axelrod / axelrod / strategies / hunter.py View on Github external
def reset(self):
        Player.reset(self)
        self.is_alt = False