ricpa-client
v0.3.1
Published
RICPA Client, client for Remote Chess Engine, implemented following RICPA protocol
Maintainers
Readme
RICPA client
RICPA client, client for Remote Chess Engine, implemented following RICPA protocol
Install
npm install ricpa-client --saveExamples of usage
const Client = require('ricpa-client');
const client = new Client('http://hostname:port/api');
const itemList = client.getQueue();
client.postFen({fen, depth});
const {fen, depth, bestMove, score, placeInQueue, estimatedTime} = client.getFen({fen, depth});