dartchess 0.11.1
dartchess: ^0.11.1 copied to clipboard
Provides chess and chess variants rules and operations including chess move generation, read and write FEN, read and write PGN.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dartchessWith Flutter:
$ flutter pub add dartchessThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dartchess: ^0.11.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dartchess/dartchess.dart';