Skip to content
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

Fix generating castlings when unmoved rooks and castles are inconsistent #499

Conversation

lenguyenthanh
Copy link
Member

Add add removeLast function for Bitboard, which I though I'm gonna use for this fix but end up with another solution in the end.

@ornicar ornicar merged commit b2b4cee into lichess-org:master Nov 10, 2023
1 check passed
@lenguyenthanh lenguyenthanh deleted the fix-generating-castlings-when-unmovedRooks-and-castles-are-inconsistent branch November 10, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants