bestmovedb

0.4.0 • Public • Published

bestmovedb

Build Status Coverage Status npm version

Database of chess best moves with FEN as a key. Stores FENs in normalized state, removing en passant note if en-passant is not allowed.

Install

npm install bestmovedb --save

Usage

const DB = require('bestmovedb');
const db = new DB();
db.add({fen, bestMove, score, depth});
db.getFen({fen, depth});
const json = db.toJSON();
//...
const db2 = new DB();
db2.load(json); // db2 is in the same state as db now

Specification

bestmovedb spec

/bestmovedb/

    Package Sidebar

    Install

    npm i bestmovedb

    Weekly Downloads

    8

    Version

    0.4.0

    License

    Apache-2.0

    Unpacked Size

    18.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • scorpibear