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

Feature/remove over counting nps #27

Merged
merged 4 commits into from Dec 27, 2021
Merged

Conversation

ekmadsen
Copy link
Owner

@ekmadsen ekmadsen commented Dec 27, 2021

  • Removed over-counting of Nodes Per Second (NPS) metric when determining move legality.
  • Disabled nullable context.
  • Defined CPU64 conditional compilation symbol.
  • Output "MadChess 3.1 x64" or "MadChess 3.1 x86" in "id name" line in response to "uci" command based on whether CPU64 symbol is defined or not.
  • Replaced occurrences of "allow" with "permit" in function names and variables.
  • Split the Board class static constructor into many methods to reduce its length.
  • Simplified if (betweenSquares == 0) logic in Position.FindPinnedPieces method.
  • Removed unnecessary Bitwise.ClearBit method.

…. Output "MadChess 3.1 x64" or "MadChess 3.1 x86" in "id name" line in response to "uci" command based on whether CPU64 symbol is defined or not.
…its length. Simplified if (betweenSquares == 0) logic in Position.FindPinnedPieces method. Removed unnecessary Bitwise.ClearBit method.
@ekmadsen ekmadsen merged commit 6ed7662 into master Dec 27, 2021
@ekmadsen ekmadsen deleted the feature/remove-over-counting-nps branch December 27, 2021 04:15
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.

None yet

1 participant