def getLegals(self, c):
        return [p for p in self._iterPos() if self.b[p] == self.EMPTY]
return all the legal positions for a color
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/twoplayergames/gomoku.py/GomokuGame.getLegals