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

PV move overwritten by TT #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

En-En-Code
Copy link

Resolves #2, which is not related to draw detection at all, but due to the possibly of the current board's hash table key matching that of a board in a future variation and being overwritten by default. The fix is to check for conflicting hash keys, and preferring the board with the higher depth.
A test of 500 games of 10+0.1 seconds shows the change is unlikely to have a big impact on play strength. Throughout the entire test, there were few instances where the win-loss difference between the two was more than a small handful of games.

Score of Achillees-tt-patch vs Achillees-master: 166 - 168 - 166  [0.498] 500
...      Achillees-tt-patch playing White: 85 - 77 - 88  [0.516] 250
...      Achillees-tt-patch playing Black: 81 - 91 - 78  [0.480] 250
...      White vs Black: 176 - 158 - 166  [0.518] 500
Elo difference: -1.4 +/- 24.9, LOS: 45.6 %, DrawRatio: 33.2 %

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.

Illegal move
1 participant