stockfish_chess_engine 0.3.2
stockfish_chess_engine: ^0.3.2 copied to clipboard
Use Stockfish chess engine directly in your Flutter project.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add stockfish_chess_engineThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
stockfish_chess_engine: ^0.3.2Alternatively, 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_chess_engine/stockfish.dart';
import 'package:stockfish_chess_engine/stockfish_bindings_generated.dart';
import 'package:stockfish_chess_engine/stockfish_state.dart';