stockfish_for_desktop 0.0.1
stockfish_for_desktop: ^0.0.1 copied to clipboard
Use Stockfish chess engine in your Flutter project for Windows and Linux. Thanks to loloof64
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add stockfish_for_desktopThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
stockfish_for_desktop: ^0.0.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:stockfish_for_desktop/stockfish.dart';
import 'package:stockfish_for_desktop/stockfish_bindings_generated.dart';
import 'package:stockfish_for_desktop/stockfish_state.dart';