Closed miskibin closed 4 months ago
Mh I am not sure, this would be a breaking change for everyone, and makeMove
is a pretty common name in chess engines. python-chess indeed uses .push and has other names as well, but tbh i haven't see people use these names in real engines anyway... also the author of the python-chess library seems to have moved away from "push" to "play" for his rust library https://github.com/niklasf/shakmaty anyway
There is really popular chess library for python. I believe all methods have much better names there. For example instead of
board.makeMove
you could useboard.push
. It is shorter and more intuitive. You are pushingMove
object. Then you canboard.pop
If you want.