Starts a stockfish process from binaries included in the package. Functions in stockfisher accept a stockfish process to keep things quick. If a process is not provided they will spawn one of their own and close it after they are done. This will add some overhead that.
1 |
1 2 3 | stockfish = startStockfish()
stockStep(posString = 'startpos',movetime = 1000,stockfish = stockfish)
stopStockfish()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.