-
Notifications
You must be signed in to change notification settings - Fork 5
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
How does one access the moves/variations/comments/etc. of a Game object? #9
Comments
Turns out both Node and Variation are exposed and can be accessed, but only after calling Navigating a variation purely through |
Hi, |
@yo35 - It would be very useful to be able to navigate the variation object through an array of nodes. Instead of doing multiple |
Done in version 1.3.0. WARNING: in order to provide a consistent API, I had to slightly break the API of the In other words, as of 1.3.0, a given |
I couldn't find anything in the documentation that allows one to access the content of a game object, such as the moves, the variations, the comments, etc. Only the names of the players and other things like that.
I need to be able to load PGNs, look at them/add comments and variations to them/etc, and then export the modified PGNs after.
How would I do that?
The text was updated successfully, but these errors were encountered: