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

threefold repetition / 50 move draw are not implemented #2

Open
paulsonkoly opened this issue Feb 22, 2014 · 1 comment
Open

threefold repetition / 50 move draw are not implemented #2

paulsonkoly opened this issue Feb 22, 2014 · 1 comment
Assignees

Comments

@paulsonkoly
Copy link
Owner

threefold repetition : http://en.wikipedia.org/wiki/Threefold_repetition
50 move draw : http://en.wikipedia.org/wiki/Fifty-move_rule

Both of these can be implemented using a history of the Zobrist hash. Question is where that history should live - ie part of the board or some other place that stores game history.

@paulsonkoly
Copy link
Owner Author

a FEN from chess.com that can be used to verify 3 fold repetition:

2r2rk1/4bppp/p3p3/3qN3/Nn1n2R1/7R/1P3PPP/2BQ2K1 w - - 0 1

atm we obviously don't see the solution as it's a draw by repetition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant