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

IsRepeatedPosition can return false negative #2

Open
Amarcolina opened this issue Aug 25, 2023 · 0 comments
Open

IsRepeatedPosition can return false negative #2

Amarcolina opened this issue Aug 25, 2023 · 0 comments

Comments

@Amarcolina
Copy link

It seems based on my testing that IsRepeatedPosition() can return false negatives on the leaderboard, is this expected? it seems peeping at the source that the Board might be re-initialized before each move with a fresh FEN, and so loses the history of previous moves?

I made a bot called 'NoDrawsAllowed' which checks all available moves, and returns the first one that results in a board where IsDraw() returns false, else it returns a null move, and it was nevertheless able to end a game with repetition

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