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

[Tests] Add evaluator tests to make sure static evaluation scores relative to sidetomove #24

Closed
KYLChiu opened this issue Jan 10, 2024 · 0 comments · Fixed by #25
Closed
Assignees

Comments

@KYLChiu
Copy link
Owner

KYLChiu commented Jan 10, 2024

NB: static evaluation function must return a score relative to the side to being evaluated, e.g. the simplest score evaluation could be:
score = materialWeight * (numWhitePieces - numBlackPieces) * who2move

  • positive if winning and if on side to move,
  • negative if winning and not on side to move
@KYLChiu KYLChiu self-assigned this Jan 10, 2024
@KYLChiu KYLChiu linked a pull request Jan 10, 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
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant