ricpa-client

0.3.1 • Public • Published

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

Package Sidebar

Install

npm i ricpa-client

Weekly Downloads

2

Version

0.3.1

License

Apache-2.0

Unpacked Size

19.2 kB

Total Files

9

Last publish

Collaborators

  • scorpibear