stopStockfish: Stop running stockfish process

Description Usage Arguments Examples

View source: R/startStockfish.R

Description

Use for cleanup

Usage

1
stopStockfish(stockfish)

Arguments

stockfish

A running stockfish (or technically any other process started by subprocess::spawn_process) process.

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.