/\_ \ ___ __ _ __ __ __\//\ \ __ __ ___ /'___\ /'__`\/\`'__\/\ \/\ \ \ \ \ /'__`\ /'__`\ /' _ `\ /\ \__//\ __/\ \ \/ \ \ \_\ \ \_\ \_/\ __//\ \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/2019/2022 to be installed. It will generate
To generate a web build, run:
npm run build-web
This will generate a babelify’d ES5 version of CeruleanJS that is compatible with most modern day web browsers that support Web Workers. This build is used in the CeruleanJS Player.
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:
For a more technical breakdown of how CeruleanJS is implemented, see docs/TECHNICAL.md
CeruleanJS is licensed under the GNU GPL v3.
v0.2.0 (Cobalt) - 2021-12-19
isAttackedfunction based on piece lists for faster move generation, using generated attack tables
bitbucket-pipelines.ymlfor unit tests on every commit
.eslintrcfor JS linting
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