Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ricpa-client

Scorpibear359Apache-2.00.3.1

RICPA Client, client for Remote Chess Engine, implemented following RICPA protocol

chess, chess engine, engine, RICPA, client, remote chess engine, uci alternative

readme

RICPA client

Build Status Coverage Status npm version

RICPA client, client for Remote Chess Engine, implemented following RICPA protocol

Install

npm install ricpa-client --save

Examples 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});