SebLague / Chess-Challenge

Create your own tiny chess bot!
https://www.youtube.com/watch?v=Ne40a5LkK6A
MIT License
1.78k stars 1.07k forks source link

Add HasCastled in BoardAPI #449

Open Racines opened 10 months ago

Racines commented 10 months ago

A pull request to implement HasCastled feature from https://github.com/SebLague/Chess-Challenge/issues/258 and https://github.com/SebLague/Chess-Challenge/issues/286.

I know there is board.GameMoveHistory to help, but since this game history is not updated during bot search, this force to track internally the status of each game. So I think we should have this feature by default in the API.

mcthouacbb commented 10 months ago

I thought that SebLague stated that no more api changes would be accepted after August 1st

Racines commented 10 months ago

You're right, I didn't see that statement.