Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

fen-queue-processor

0.5.1 • Public • Published

FEN Queue Processor

Build Status Coverage Status npm version

Process and analyzes queue of chess positions in FEN format

Install

npm install fen-queue-processor --save

Usage

const Processor = require('fen-queue-processor');
const processor = new Processor({queue, evaluation, analyzer, strategy, evaluationSources});
await processor.process(); // call queue.getAllItems, clarifies with strategy is it interesting for analysis, checks for answer in evaluation sources and calls for interesting not analyzed positions analyzer.analyze
//...
processor.registerEvaluation({fen, depth, score, bestMove}); // calls evaluation.save and queue.delete for all analyzed enough positions

Specification

Processor specification

Install

npm i fen-queue-processor

DownloadsWeekly Downloads

1

Version

0.5.1

License

Apache-2.0

Unpacked Size

25.5 kB

Total Files

8

Last publish

Collaborators

  • avatar