-
Notifications
You must be signed in to change notification settings - Fork 21
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Variation on White's first move #22
Comments
@jmt1423 You are right, it is not possible to add a variation on the first move with Maybe setting the string "start" as parameter const history = new History()
history.addMove("e4")
history.addMove("d4", "start")
history.addMove("e5") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! Love the project and what I can do with it, I was just wondering if it is possible to add a variation on the first move of the game with pgn.history.addMove().
So as an example the variation tree should look like:
If it isn't possible I'd be happy to try and work on a solution and create a PR for it, but would like some clarification before I start trying a different solution. Thanks!
The text was updated successfully, but these errors were encountered: