Skip to content

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

License

Notifications You must be signed in to change notification settings

Scorpibear/chegura

Repository files navigation

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/

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published