1.0.2 • Published 8 months ago

jank-chess v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Jank Chess JS

A very preformant native c++ chess engine wrapped in nodejs for fun and profit!

Tests

example workflow

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.

Authors

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago