mliebelt/pgn-parser

Record the result of a game explicitly, and remove it from the moves

mliebelt opened this issue · 0 comments

PGN has the tag "Result" for that purpose, and therefore, it should be natural to have the result of the game recorded as tag.

The following should be done:

  • Ensure that for all parse start rules, the reading of the result is parsed correctly.
  • Ensure that the result is then recorded as tag in all cases.
  • Emit a warning, if the result is different to one that is already included explicitly as tag.

See #97 and #98 how the bug was found.