0.3.1 • Published 3 years ago

ricpa-client v0.3.1

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
3 years ago

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