def getKilling(self, c):
        """ return all legal positions for a color that immediately kill the opponent. """
        res = GomokuGame.getKilling(self, c)
        for p in self.getLegals(c):
            k = self._killsWhich(c, p)
            if 5 >= self.pairsTaken[c] + len(k) / 2:
                res.append(p)
        return res
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/twoplayergames/pente.py/PenteGame.getKilling/swapped operands of `>=`