ArjanAswal / Stockfish

The Stockfish Chess Engine for Flutter.
GNU General Public License v3.0
39 stars 14 forks source link

Does it work for web? #42

Open Hit1328 opened 3 weeks ago

Hit1328 commented 3 weeks ago

I was not able to get the example running on web but it did work for android. Please clarify if it can run on web as the documentation only describes about android and ios

daohoangson commented 3 weeks ago

No, only Android & iOS are supported right now. We probably need to use something like https://github.com/lichess-org/stockfish.wasm to make it work on web.

Hit1328 commented 3 weeks ago

No, only Android & iOS are supported right now. We probably need to use something like https://github.com/lichess-org/stockfish.wasm to make it work on web.

Aight! Initially I was developing a web app using stockfish.js that required only a js and a wasm file. But later I thought of using flutter as I wanted to port it to all platforms. I have no idea if it is possible to integrate js and wasm for web inside flutter. Would be great if you guys can add a web support for the package. ps: I am beginner and working on my first big project.