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

King safety #31

Open
mateusz2173 opened this issue May 29, 2024 · 0 comments · May be fixed by #32
Open

King safety #31

mateusz2173 opened this issue May 29, 2024 · 0 comments · May be fixed by #32
Assignees
Labels

Comments

@mateusz2173
Copy link
Collaborator

mateusz2173 commented May 29, 2024

Read https://www.chessprogramming.org/King_Safety
Sections: Square Control and Attack Units

Implement eval heuristic:

  • For each piece attacking squares near king, add certain amount of points (you can lookup rust implementation in king_safety.rs)
  • Use predefined lookup table to calculate total bonus.
  • add total bonus to final eval
@DanielSarniak DanielSarniak self-assigned this Jun 11, 2024
@DanielSarniak DanielSarniak linked a pull request Jun 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants