def __init__(self, size):
        self.size = size
        assert size[0] >= 5
        assert size[1] >= 5
        self.reset()
the size of the board is a tuple, where each dimension must be minimum 5.
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/twoplayergames/gomoku.py/GomokuGame.__init__