uci_quit: Sending quit command to chess engine

Description Usage Arguments Value Examples

View source: R/uci_quit.R

Description

Sending quit command to chess engine and cleaning temps from R

Usage

1
uci_quit(engine)

Arguments

engine

engine object

Value

strings from uci chess engine GUI

Examples

1
2
3
4
5
6
7
8
9
# Linux (make sure you have executable permission):
engine_path <- "./stockfish_10_x64"
# Windows
# engine_path <- "./stockfish_10_x64.exe"
e <- uci_engine(engine_path)
uci_quit(e)
# Using pipe '%>%' from magrittr:
require(magrittr)
uci_engine(engine_path) %>% uci_quit()

rosawojciech/bigchess documentation built on Jan. 19, 2021, 5:54 a.m.