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

Improve king safety feature detection #30

Open
zxul767 opened this issue Mar 22, 2022 · 0 comments
Open

Improve king safety feature detection #30

zxul767 opened this issue Mar 22, 2022 · 0 comments

Comments

@zxul767
Copy link
Owner

zxul767 commented Mar 22, 2022

The current implementation simply assumes that a king is safe if it castled and has pawns in front of it. A better implementation should consider if the vicinity to the king is under heavy attack, and/or if there are enough defenders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant