jank-chess
v1.0.2
Published
A javascript wrapped c++ chess engine for fun and profit!
Downloads
3
Readme
Jank Chess JS
A very preformant native c++ chess engine wrapped in nodejs for fun and profit!
Tests
Installation
Install jank-chess with npm
npm install jank-chess
Usage/Examples
const { Board } = require("jank-chess");
let board = new Board();
board.move("d2d4");
let moves = board.get_moves(); // Array of all available moves
let turn = board.turn(); // w or b
let pawns = board.get_pawns("w"); // Array of all pawn locations for white
Acknowledgements
- C++ engine written by Jonathan Van Schenck, and can be found here. Check it out!
- Many thanks to the Chess Programming Wiki, upon which most of this project is based.