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

🐛 Don't allow the search to stop if no best move is found #1251

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

eduherminio
Copy link
Member

Don't allow the search to stop if no best move is found.

If we ever prune while being checkmated, it could happen that we end up without a best move.
This prevents an illegal move from being played if that's ever the case.

@eduherminio eduherminio marked this pull request as ready for review December 7, 2024 19:37
@eduherminio eduherminio merged commit b907d7f into main Dec 7, 2024
27 checks passed
@eduherminio eduherminio deleted the bugfix/no-search-stop-without-moves branch December 7, 2024 19:37
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.

1 participant