chegura

2.10.3 • Public • Published

chegura

Chegura - chess guru, knows everything about chess, what Melissa would like to know, specially best chess moves

Build Status Coverage Status npm version

Install

  • Install LTS version of Node.js.
  • Type from command line:
npm install -g chegura

Configure

Create app.config.json with the following structure, specifying correct paths, modifying parameters by your wish

{
  "optimizeSettings": {
    "optimize": false
  },
  "port": 9966,
  "defaultDepth": 50,
  "movesToStore": 25,
  "ricpaClient": {"hostname": "localhost", "port": "9977", "path": ""},
  "analysisQueueFile": "analysis-queue.json",
  "externalEvaluationsFile": "external-evaluations.json",
  "pingUrl": "http://localhost:9966/api/ping",
  "evaluationsLogFile": "evaluations.log"
}

ricpaClient, if specified, contains setting to connect to remote chess engine supporting RICPA protocol, e.g. Remote Chess Engine

Run

Type from command line:

chegura

or to run as a service:

chegura &>chegura.log &

API

POST /api/analyze {moves: ['e4','e5']}

GET /api/userscount

GET,POST /api/ping

GET /api/base

GET /api/fenbase

GET /api/fendata?fen=rnbqkb1r/pppppppp/5n2/8/3P4/5N2/PPP1PPPP/RNBQKB1R b KQkq - 2 2

Demo

See how it works with Melissa trainer at http://3kgm.online/

Readme

Keywords

Package Sidebar

Install

npm i chegura

Weekly Downloads

7

Version

2.10.3

License

Apache-2.0

Unpacked Size

213 kB

Total Files

65

Last publish

Collaborators

  • scorpibear