#chess-engine #ai #uci

nightly bin+lib pleco_engine

A blazingly-fast Chess AI

19 releases

Uses old Rust 2015

0.1.6 May 6, 2019
0.1.5 Mar 5, 2019
0.1.4 Jun 26, 2018
0.1.0 Mar 9, 2018
0.0.2 Nov 23, 2017

#1098 in Game dev

27 downloads per month

MIT license

655KB
13K SLoC

Pleco Engine

Pleco Engine is a Rust re-write of the Stockfish chess engine.

Pleco crate Build Status

This project is split into two crates, pleco_engine (the current folder), which contains the UCI (Universal Chess Interface) compatible Engine & AI, and pleco, which contains the library functionality.

The overall goal of pleco is to recreate the Stockfish engine in rust, for comparison and educational purposes. As such, the majority of the algorithms used here are a direct port of stockfish's, and the credit for all of the advanced algorithms used for searching, evaluation, and many others, go directly to the maintainers and authors of Stockfish.

Standalone Installation and Use

Currently, Pleco's use as a standalone program is limited in functionality. A UCI client is needed to properly interact with the program. As a recommendation, check out Arena.

The easiest way to use the engine would be to check out the "releases" tab, here.

If you would rather build it yourself (for a specific architecture, or otherwise), clone the repo and navigate into the created folder with the following commands:

$ git clone https://github.com/sfleischman105/Pleco --branch master
$ cd Pleco/

Once inside the pleco directory, build the binaries using cargo:

$ cargo build --release

The compiled program will appear in ./target/release/.

Pleco can now be run with a ./Pleco on Linux or a ./Pleco.exe on Windows.

Rust Toolchain Version

Currently, pleco_engine requires nightly rust to use.

Contributing

Any and all contributions are welcome! Open up a PR to contribute some improvements. Look at the Issues tab to see what needs some help.

License

Pleco is distributed under the terms of the MIT license. See LICENSE-MIT for details. Opening a pull requests is assumed to signal agreement with these licensing terms.

Dependencies

~3.5MB
~57K SLoC