Open riccardocescon opened 1 year ago
After some research there are 4 to 5 ways to solve this:
1) Use stockfish js and https://pub.dev/packages/js to create a dart package out of the stockfish js module: https://www.npmjs.com/package/stockfish 2) use https://api.flutter.dev/flutter/dart-io/Process-class.html to write process class for stockfish commands process 3 implement UCI protocol for the dart to talk to any engine, in our case Stockfish 4) use python wrapper somehow and connect it to dart (quite complex) 5) https://dart.dev/guides/libraries/c-interop use this to write a dart package for the c++ stockfish code base
These are research areas, I think step 1 and 2 are good to try.
Write a package in pure Dart for Porting Stockfish Engine into Dart without rewriting it