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

Enable pgn-at-pos test for point-min, with new value #209

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rolandwalker
Copy link
Collaborator

This always was a corner case per the docstring. What is the meaningful PGN at point-min? The new code says it is the full set of header tagpairs; the old code said the first tagpair. Both seem acceptable. Neither include any moves.

xref #208

cc @dekrueger

This always was a corner case per the docstring.  What is the meaningful
PGN at point-min?  The new code says it is the full set of header
tagpairs; the old code said the first tagpair.  Both seem acceptable.
Neither include any moves.
@rolandwalker rolandwalker self-assigned this Jun 6, 2023
@dekrueger
Copy link

The new code definitely treats the header as an atomic entity.

The main reason was to reduce code. But I also felt odd when using only the tag pairs up to point in headers with a FEN. The board would suddenly jump to the initial position when the point reached that tag pair.

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.

None yet

2 participants