chess-positions-queue-processor

0.3.0 • Public • Published

Chess Positions Queue Processor

Build Status Coverage Status npm version

Process queue of chess positions which needs to be analyzed

Install

npm install chess-positions-queue-processor --save

Usage

const Processor = require('../processor');
const processor = new Processor({queue, evaluation, analyzer});
processor.process(); // call queue.getAllItems and calls for each analyzer.analyze
//...
processor.registerEvaluation({fen, depth, score, bestMove}); // calls evaluation.save and queue.delete for all analyzed enough positions

Specification

Processor specification

/chess-positions-queue-processor/

    Package Sidebar

    Install

    npm i chess-positions-queue-processor

    Weekly Downloads

    0

    Version

    0.3.0

    License

    Apache-2.0

    Unpacked Size

    23.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • scorpibear