chess-engine-x
v0.1.0
Published
chess engine for browser and node
Downloads
2
Maintainers
Readme
chess-engine-x
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