draughts_engine 1.2.1
draughts_engine: ^1.2.1 copied to clipboard
A fast, fully rules-complete international 10x10 draughts engine for Dart & Flutter. Supports men & king movement, flying kings, multi-capture sequences, mandatory capture and longest-line rules, FEN [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add draughts_engineThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
draughts_engine: ^1.2.1Alternatively, 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:draughts_engine/draughts_engine.dart';