0.1.0 • Published 5 years ago

chess-engine-x v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Build Status Coverage Status

chess-engine-x

Gitter

A chess engine which can be consumed by the browser or node

Installation

$ npm install chess-engine-x --save

Usage

  var cex = require('chess-engine-x'),
      game = new cex.Game();

  game.on('move', function(data) {
    console.log('moved: ' + data.move);
  });
  game.on('end', function(data) {
    console.log('game over!');
  });
  game.start();
  game.move('e2e4');

Tests

$ npm test

Contributing

Contributers welcome!

Release History

  • 0.1.0 Initial release