def __init__(self, player_pair, save_file="save.pkl"): self._state = SystemState() self._player_pair = player_pair self._history = [] self._winner = None self._gameEnd = False self._save_file = save_file
def reset(self, testing=False): self._player_pair[0].reset(testing=testing) self._player_pair[1].reset(testing=testing) #self.save(self._save_file) self._state = SystemState() self._history = [] self._winner = None self._gameEnd = False
def __init__(self, player_pair): self._state = SystemState() self._player_pair = player_pair self._history = [] self._winner = None self._gameEnd = False