Fix notation for pieces in hand in SFEN
authorFabian Fichter <ianfab@users.noreply.github.com>
Wed, 12 Feb 2020 21:26:26 +0000 (22:26 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Wed, 12 Feb 2020 21:26:26 +0000 (22:26 +0100)
commit051d82c2c54042a65b8e76b18f0a91cc3aed97e5
tree3ed116559235875e33289315c02f6daf305dd1eb
parente6fd7415674c75b66dc0ed7c38ab1eebe29e2de9
Fix notation for pieces in hand in SFEN

Prefix the piece letter by the piece count instead of repeating the letter.
Support old notation in parsing for backwards compatibility.

Closes #77.
src/position.cpp