___ /\_ \ ___ __ _ __ __ __\//\ \ __ __ ___ /'___\ /'__`\/\`'__\/\ \/\ \ \ \ \ /'__`\ /'__`\ /' _ `\ /\ \__//\ __/\ \ \/ \ \ \_\ \ \_\ \_/\ __//\ \L\.\_/\ \/\ \ \ \____\ \____\\ \_\ \ \____/ /\____\ \____\ \__/.\_\ \_\ \_\ \/____/\/____/ \/_/ \/___/ \/____/\/____/\/__/\/_/\/_/\/_/
Official Website: http://ceruleanjs.joeyrobert.org/
CeruleanJS is an XBoard chess engine for NodeJS, written by Joey Robert.
The goals of CeruleanJS are threefold:
CeruleanJS aims to be ranked on the CCRL.
To install the binary into your $PATH, install the ceruleanjs package globally:
npm install -g ceruleanjs
Run the engine with the command:
If you're installing from sources, check out this git repository and run:
To run mocha tests:
To generate a Windows binary executable using nexe, run:
npm run build-windows
This requires Microsoft Visual Studio 2015 to be installed. It will generate
To generate a web build, run:
npm run build-web
CeruleanJS supports the XBoard/winboard/CECP format for communicating with interfaces or other chess engines. It's also usable directly through STDIN/OUT. Here's the list of commands:
Commands display Draws the board perft [INT] Perfts the current board to specified depth perfthash [INT] Sets perft hashtable exponent (size 2^exponent) divide [INT] Divides the current board to specified depth moves Lists valid moves for this position e2e4 Moves from the current position and thinks go Forces the engine to think undo Subtracts the previous move new Sets up the default board position setboard [FEN] Sets the board using Forsyth-Edwards Notation evaluate Performs a static evaluation of the board result Displays game result (checkmate or stalemate) book [on|off] Toggles whether engine uses opening book white Sets the active colour to WHITE black Sets the active colour to BLACK time [INT] Sets engine's time (in centiseconds) otim [INT] Sets opponent's time (in centiseconds) sd [INT] Sets maximum depth st [INT] Sets maximum time level [MPT] [BASE] [INC] Sets Winboard level timing sts Run Strategic Test Suite (1s per move) version Outputs the version number exit Exits the menu quit See exit help Gets you this magical menu
For a more technical breakdown of how CeruleanJS is implemented, see docs/TECHNICAL.md
CeruleanJS is licensed under the GNU GPL v3.
v0.1.1 (Blizzard) - 2016-01-20
v0.1.0 (Blizzard) - 2016-01-20
BLACK = 0, WHITE = 1)
v0.0.1 (Azure) - 2015-12-13