#chess #hexagonal #club #cross-language #brain

hexchess

A library for Gliński's hexagonal chess, and the brain of hexchess.club

40 releases (20 stable)

new 2.5.0 Nov 18, 2025
2.4.3 Sep 21, 2025
2.2.1 Jul 28, 2025
0.10.0 Sep 17, 2024

#82 in Games

Download history 805/week @ 2025-07-22 102/week @ 2025-07-29 6/week @ 2025-08-05 618/week @ 2025-08-12 397/week @ 2025-08-19 28/week @ 2025-08-26 10/week @ 2025-09-02 1/week @ 2025-09-09 107/week @ 2025-09-16 51/week @ 2025-09-23 84/week @ 2025-09-30 159/week @ 2025-10-07 184/week @ 2025-10-14 111/week @ 2025-10-21 8/week @ 2025-10-28

310 downloads per month

MIT license

185KB
4.5K SLoC

hexchess

Build Coverage Crates.io Packagist NPM Engine version License

A cross-language library for Gliński's hexagonal chess, and the brain of hexchess.club.

View documentation →

Development

Depending on which library you're working on, you'll need to install a few dependencies.

First, clone the repository, and setup the CLI.

git clone git@github.com:scottbedard/hexchess.git

cd hexchess

pnpm install

Next run node hexchess to see the following commands.

Usage: hexchess [options] [command]

Options:
  -h, --help                   display help for command

Commands:
  build                        Build all projects
  build:engine                 Build engine package
  build:js                     Build NPM package
  build:rs                     Build Rust crate
  docs:dev                     Develop docs
  docs:build                   Build docs
  docs:preview                 Preview docs
  lint:php                     Run linting
  test                         Run all tests
  test:engine [options]        Run engine tests
  test:js [options]            Run JavaScript tests
  test:php [options]           Run PHP tests
  test:rs [options]            Run Rust tests
  version [options] [version]  Set the version of the project
  version:check [options]      Check the versions of the dependencies
  help [command]               display help for command

License

MIT

Copyright (c) 2024-present, Scott Bedard

Dependencies

~1.8–2.7MB
~58K SLoC