Skip to content

renztarga/Reyna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reyna

Reyna is a free, open-source, and original UCI chess engine written in Rust. It is a traditional alpha-beta searcher with a hand-crafted evaluation.

Reyna means queen from where I'm from (Philippines). It is a hobby project I wrote for fun and learning.

Usage

Like most chess engines, Reyna does not have its own GUI. Instead, it implements the UCI protocol which allows it to be loaded into GUIs that support UCI (almost all do). I recommend using chess GUIs available for free, such as: Cute Chess, Lucas Chess, and Arena.

Linux and Windows binaries are available in the Releases section.

You can also challenge Reyna in lichess.

CPU requirements

Requires a CPU with BMI2 instruction set support:

  • Intel Haswell series or newer (2013+)
  • AMD Zen series or newer (2017+)

Compiling

Reyna uses Rust features currently in the nightly version of the compiler. As of writing, the current rustc version is 1.92.0-nightly.

  1. Install the Rust compiler.
  2. Switch to the nightly version of rustc via the terminal:
    rustup default nightly
    
  3. Build the project via the terminal:
    cargo build --release
    
  4. (Optional) Build PGO+BOLT optimized binaries using cargo-pgo.

Acknowledgements

While Reyna is an original project, it could not have existed without the decades-long knowledge of the computer chess community.

  • CPW and its contributors
  • fastchess and its contributors
  • Peter Österlund (author of Texel) for his evaluation tuning method
  • Alexandru Mosoi (author of Zurichess) for his tuning dataset

License

Reyna is licensed under the GNU General Public License v3 (GPLv3). Read the license file for the full text.

About

Reyna is a UCI chess engine written in Rust

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages