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

Avoid 3-fold repetitions #9

Merged
merged 2 commits into from Aug 24, 2021
Merged

Avoid 3-fold repetitions #9

merged 2 commits into from Aug 24, 2021

Conversation

benediktwerner
Copy link
Contributor

See 3e3377e for a clean diff

The transition to a class isn't really necessary but I thought it would be useful for this at first.

@ornicar ornicar merged commit 7667060 into ornicar:master Aug 24, 2021
@niklasf
Copy link
Contributor

niklasf commented Aug 24, 2021

Glad to see this fixed! I'll write a script to retroactively apply this filter to the puzzle database.

kraktus added a commit to kraktus/lichess-puzzler that referenced this pull request Sep 30, 2021
ornicar#9 Uses `fen` method which includes the move number, so positions are never equals.

Found thanks to https://lichess.org/forum/lichess-feedback/cooked--in-2-puzzle. Run against the source game of the puzzle and v47 generate the faulty puzzle while v48 (this one) does not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants