Skip to content

Comments

Pgn idempotency#10781

Draft
johnboltum wants to merge 9 commits intolichess-org:masterfrom
johnboltum:PGN_idempotency
Draft

Pgn idempotency#10781
johnboltum wants to merge 9 commits intolichess-org:masterfrom
johnboltum:PGN_idempotency

Conversation

@johnboltum
Copy link

@johnboltum johnboltum commented Apr 6, 2022

So far changes only made in /modules/study/src/main/PgnDump.scala

New Functions are combineComments and gamebookComment.

combineComments was created to reduce duplicate code in the ofChapter(...) and node2moves(...) functions in PgnDump.scala. A more descriptive name might be possible.

gamebookComment was templated after shapeComment, and was created to format gamebookComments (i.e. interactive study comments) for PGN exporting.

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.

1 participant