SebLague/Chess-Coding-Adventure

Detect if king is castled

Racines opened this issue · 0 comments

[edit] WRONG REPOSITORY SORRY

To evaluate a board position I would like to know if the king is castled.
Is there some kind of status in the API I can check to know that?

HasKingsideCastleRight and HasQueensideCastleRight, are not enought to have this information.
GameMoveHistory can help but it's not updated during AI search.

@SebLague could you add this status in the API?