chess-engine-x

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i chess-engine-x

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

792 kB

Total Files

31

Last publish

Collaborators

  • wynnej1983