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

Syzygy Tablebases without rtbz (distance to zero) files cause wrong endgame moves #8

Open
ljgw opened this issue Mar 28, 2019 · 1 comment

Comments

@ljgw
Copy link
Owner

ljgw commented Mar 28, 2019

FrankWalter 2.3.5 will play the wrong move in this situation: 8/8/8/8/3K4/6r1/4k1p1/6R1 b - - 7 82 when it has access to Win-Draw-Loss tablebase files, but not the Distance-to-Zero files because it relies on these DTZ files too much.

This also causes weird looking moves in the endgame where the winning distance to zero move is giving pieces away.

Solution is to select all moves (taking the 50 move rule into account) that get the maximum result (win or perhaps draw) in a root position and only consider these in the search. Make sure that the WDL information is not terminating the search on ply one.

@ljgw
Copy link
Owner Author

ljgw commented Mar 28, 2019

workaround

As a work-around: please make sure you have the corresponding .rtbz files for any .rtbw syzygy file you have. If you do not have them, it might be better to not provide syzygy tablebases to FrankWalter.

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

No branches or pull requests

1 participant