Hexe
A pure Rust chess engine


(pronounced "Hekseh")

Travis Status AppVeyor Status LoC

What is Hexe?

Hexe is an open-source chess engine written in Rust. It is written primarily as a library, with an executable that directly utilizes that library. This project is split into two packages (crates):

Why "Hexe"?

  1. "Hexe" is German for witch. It denotes the use of magic bitboards within this project.

  2. It refers to Clarke's Third Law: "Any sufficiently advanced technology is indistinguishable from magic."

  3. If she weighs the same as a duck... she's made of wood. And therefore...

Features

The goal of this project is to have the following features:

[hexe]

[hexe_core]

Cross-Platform Compatibility

Hexe is written to be available for the main platforms that Rust compiles to. hexe and hexe_core are both automatically tested—separately—against all Tier 1 platforms. As of this writing, they are:

| Platform | Version | Bits | | :--------- | :----------- | :---- | | macOS | 10.7+, Lion+ | 32/64 | | MinGw/MSVC | Windows 7+ | 32/64 | | Linux | 2.6.18+ | 32/64 |

hexe_core is designed to not require the Rust standard library. Because of this, it is compatible with all platforms that stable Rust compiles to.

Cross-Language Compatibility

Hexe wrappers are currently available in the following languages:

License

Hexe is licensed under either of

at your choosing.

Note: This project initially began on 2017-01-04 in a separate repository. This repo is a rewrite and expansion of that one.