-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draw by timeout #410
Comments
i guess this is more of a chess-library pr but ig can be posted here too :p |
How is this a chess lib thing ? Chess lib doesn’t know anything about time control and there is a public function for insufficient material check I think |
i think the function exists within chess lib's board.hpp, in fastchess it extracts the data from the board object |
yep https://github.com/Disservin/chess-library/blob/c45383444969339f5df1457dc4089a3a89d702a3/src/board.hpp#L639 the one in chess lib can only check if both sides have insufficient material, in this case one side is insufficient while the opponent can still mate |
apparently, theres also a draw by disconnect in cutechess |
apparently this is an actual rule, cutechess seems to already have this while fast-chess not yet (i think). probably would rarely if ever come up but might be worth implementing nonetheless
The text was updated successfully, but these errors were encountered: