I am using the python chess library to make a chess bot, it works fine until self.engine.position(self.board)
, I am then given this error:AttributeError: 'SimpleEngine' object has no attribute 'position'
Asked
Active
Viewed 61 times
0

COHEJH
- 1
- 5
-
Can you explain in more detail what you're trying to do and show the code that is failing? The error correctly indicates that the `chess.engine.SimpleEngine` class has no method called `position`. – Jackson H Dec 14 '22 at 17:24