stockfish_chess_engine 0.4.1
stockfish_chess_engine: ^0.4.1 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 Dart:
$ dart pub add stockfish_chess_engine
With Flutter:
$ flutter pub add stockfish_chess_engine
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
stockfish_chess_engine: ^0.4.1
Alternatively, 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:stockfish_chess_engine/stockfish.dart';
import 'package:stockfish_chess_engine/stockfish_bindings_generated.dart';
import 'package:stockfish_chess_engine/stockfish_state.dart';