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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.4.0
    10
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.4.0
    10
  • 0.3.0
    0
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i bestmovedb

Weekly Downloads

10

Version

0.4.0

License

Apache-2.0

Unpacked Size

18.2 kB

Total Files

9

Last publish

Collaborators

  • scorpibear