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

Package Sidebar

Install

npm i fen-queue-processor

Weekly Downloads

4

Version

0.5.1

License

Apache-2.0

Unpacked Size

25.5 kB

Total Files

8

Last publish

Collaborators

  • scorpibear