npm.io
0.3.1 • Published 5 years ago

ricpa-client

Licence
Apache-2.0
Version
0.3.1
Deps
1
Size
19 kB
Vulns
23
Weekly
0

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

Keywords