__author__ = 'Tom Schaul, tom@idsia.ch'
from pybrain.rl.agents.agent import Agent
from pybrain.rl.environments.twoplayergames import GomokuGame


class GomokuPlayer(Agent):
    """ a class of agent that can play Go-Moku, i.e. provides actions in the format:
    (playerid, position)
    playerid is self.color, by convention.
    It generally also has access to the game object. """

    def __init__(self, game, color=GomokuGame.BLACK, **args):
        self.game = game
        self.color = color
        self.setArgs(**args)

0879cc6a272d1798a6f22623e386717b50864fb7
<mask token>


class GomokuPlayer(Agent):
    <mask token>

    def __init__(self, game, color=GomokuGame.BLACK, **args):
        self.game = game
        self.color = color
        self.setArgs(**args)

<mask token>


class GomokuPlayer(Agent):
    """ a class of agent that can play Go-Moku, i.e. provides actions in the format:
    (playerid, position)
    playerid is self.color, by convention.
    It generally also has access to the game object. """

    def __init__(self, game, color=GomokuGame.BLACK, **args):
        self.game = game
        self.color = color
        self.setArgs(**args)

__author__ = 'Tom Schaul, tom@idsia.ch'
<mask token>


class GomokuPlayer(Agent):
    """ a class of agent that can play Go-Moku, i.e. provides actions in the format:
    (playerid, position)
    playerid is self.color, by convention.
    It generally also has access to the game object. """

    def __init__(self, game, color=GomokuGame.BLACK, **args):
        self.game = game
        self.color = color
        self.setArgs(**args)

__author__ = 'Tom Schaul, tom@idsia.ch'
from pybrain.rl.agents.agent import Agent
from pybrain.rl.environments.twoplayergames import GomokuGame


class GomokuPlayer(Agent):
    """ a class of agent that can play Go-Moku, i.e. provides actions in the format:
    (playerid, position)
    playerid is self.color, by convention.
    It generally also has access to the game object. """

    def __init__(self, game, color=GomokuGame.BLACK, **args):
        self.game = game
        self.color = color
        self.setArgs(**args)
