|
|
|
|
|
by retrac
684 days ago
|
|
You're on the right path. There's a bit of a learning curve for what you want to do but it should be doable. Stockfish is written in C++. What you need to do is compile the C++ to either to WASM or Javascript -- a browser hostable environment. Emscripten is a compiler toolchain for turning regular C and C++ programs into WASM or JS suitable to be embedded into a web browser. Stockfish doesn't include a GUI or anything, so you'll need to write or adapt a browser-based UCI (Universal chess interface) client, as well, and connect that to the Stockfish engine thread. |
|