Results 27 comments of Nathan Rugg

That error message appears to be saying that emscripten is already installed. Perhaps it is not in the `PATH`. Maybe you need to run `emsdk_env.bat`

I don't know enough about RequireJS to know if it's possible. If you're using WASM, make sure to include all of the necessary files: `stockfish.js` and `stockfish.wasm` in the same...

Does `require('./stockfish.asm.js')` do anything different?

I don't know of anything like that that is freely available. You could take a look at load_engine.js. It is the very beginnings of an API to work with the...

Yep. I'm working on it. It shouldn't be much longer now.

Stockfish 11 is now released. 12 is in the works.

Since your named the variable as `stockfish` on the first line, then you should call `stockfishes[id] = stockfish()`.

Maybe this will help. I just did this: `npm i stockfish` And then created this file and it works: ``` var id = 0; var stockfish = require("stockfish"); var stockfishes...

`fen` should be the _starting position_ fen. You can use `startpos` for short. ```js s.send(`position startpos moves e2e4 e7e6`); ``` `moves` just keeps getting longer as the game progresses. You...

> expected magic word 00 61 73 6d, found 3c 21 44 4f @+0 `3c 21 44 4f` is hex for ` Also, sort of an aside question, is the...