Replies: 1 comment 5 replies
-
I am a real command line type of programmer, so qt is throwing me for a loop sorry |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://python-chess.readthedocs.io/en/latest/_modules/chess/pgn.html#GameBuilder.result
If you organized your moves and board within a python chess game, It would be a lot easier to display the pgn. I am trying to add pgn parsing/traversal to YACS, but I am having to create chess.pgn.Games post hawk. It would be a lot simpler if when you created the board, you created a Game instead, and used the Games built in board. It will make it much easier in the long run, if you want to traverse pgn.
The alternative is reinventing a tone of stuff already available in python chess. If in stead of creating a board, you create a game I think things will be smother.
Cheers,
nrv
Beta Was this translation helpful? Give feedback.
All reactions