startStockfish: Start stockfish

Description Usage Examples

View source: R/startStockfish.R

Description

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.

Usage

1

Examples

1
2
3
stockfish = startStockfish()
stockStep(posString = 'startpos',movetime = 1000,stockfish = stockfish)
stopStockfish()

oganm/stockfisher documentation built on Dec. 26, 2018, 12:20 p.m.