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
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

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