-
-
Notifications
You must be signed in to change notification settings - Fork 537
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 to create pgn from a game play #63
Comments
Hi. Example 1: Add game nodes during play.
Example 2: Create a game from the recorded moves.
Especially the second one should be easier. I'll see how I can improve this and update the documentation. |
niklasf
added a commit
that referenced
this issue
Jan 13, 2016
Niklas, thank you very much. This is exactly what I have been looking for. |
niklasf
added a commit
that referenced
this issue
Nov 30, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
I am a new user of this API. Thank you very much. It is really a great work. I would like to ask a question which I could not solve: how can I create a PGN output from a running game: I have written following simple program as tournment of two compuer chess engines:
Now I would like not only to have a fen represenation when a game has finished, but also a pgn export. So my question is: how can I record all moves and checks and mates etc during a game play, so that I could have a pgn represantation of all moves when the game has ended?
A simple example would be welcome. You are also welcome to use my example and your pgn extension as general example for other users.
Thank you very much,
Maciej
The text was updated successfully, but these errors were encountered: