marianogappa / ostinato

A chess library that runs on the server (Scala) and on the browser (ScalaJS).
http://marianogappa.github.io/ostinato
MIT License
53 stars 6 forks source link

Crashes with draw offer #11

Open thegrim00 opened 7 months ago

thegrim00 commented 7 months ago

Crashes when the draw offer is in notation (https://en.wikipedia.org/wiki/Algebraic_notation_(chess)#(=))

marianogappa commented 6 months ago

Hey, sorry, it is indeed not supported and I'm having a lot of trouble with setting up this library to make the fix. Thanks for flagging though. Eventually I'm going to get a version that fixes this issue online. As a workaround, the game should be parsed correctly if you just remove that draw offer symbol. To be fair, the article does say that it's not supported on PGN.