sgf_parser 0.0.3 copy "sgf_parser: ^0.0.3" to clipboard
sgf_parser: ^0.0.3 copied to clipboard

Parser library for SGF (Smart Game Format) files. Currently only supports Go.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add sgf_parser

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  sgf_parser: ^0.0.3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:sgf_parser/exceptions/gameTypeNotSupportedException.dart';
import 'package:sgf_parser/exceptions/invalidMoveException.dart';
import 'package:sgf_parser/exceptions/invalidPropertyValueException.dart';
import 'package:sgf_parser/game/color.dart';
import 'package:sgf_parser/game/game.dart';
import 'package:sgf_parser/game/gameAttributes.dart';
import 'package:sgf_parser/game/move.dart';
import 'package:sgf_parser/game/player.dart';
import 'package:sgf_parser/properties/boardSize.dart';
import 'package:sgf_parser/properties/fileFormat.dart';
import 'package:sgf_parser/properties/gameType.dart';
import 'package:sgf_parser/sgfParser.dart';
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Parser library for SGF (Smart Game Format) files. Currently only supports Go.

Homepage

License

unknown (LICENSE)

Dependencies

equatable, flutter

More

Packages that depend on sgf_parser