Smart Game Format parser for Flutter & Dart. Currently only supports Go.
AP, BR, DT, EV, FF, GM, KM, PB, PC, PW, RE, SZ, TM, US, WR, W, B
// Initialize the parser with the SGF contents
SGFParser parser = SGFParser(sgfString);
Game game = parser.parse();
// Attributes contain all non-move properties
GameAttributes attributes = game.attributes;
// Moves are listed in order
List<Move> moves = game.moves;
Please see here for a more concrete example.
- Support for rest of the properties
- Variations
- Handicap