lichess-org / dartchess

Dart chess library for native platforms
https://pub.dev/packages/dartchess
GNU General Public License v3.0
33 stars 17 forks source link

[Request] Support for Setup.parsePgn #28

Closed riccardocescon closed 1 month ago

riccardocescon commented 1 year ago

Currently the Setup class supports the fen with Setup.parseFen constructor, almost lichess endpoints for puzzles returns a Pgn string, it would be nice if there is some Setup.parsePgn

veloce commented 1 month ago

You have the PgnGame.parsePgn for that.