Crate pleco [] [src]

A blazingly fast Chess Engine and Chess AI.

This package is seperated into two parts. Firstly, the board representation & associated functions. and Secondly, the AI implementations.

Usage

This crate is on crates.io and can be used by adding pleco to the dependencies in your project's Cargo.toml.

Reexports

pub use board::Board;
pub use core::piece_move::BitMove;
pub use core::sq::SQ;
pub use core::bitboard::BitBoard;
pub use core::Player;
pub use core::Piece;
pub use core::Rank;
pub use core::File;

Modules

board

This module contains Board, the Object representing the current state of a chessboard. All modifications to the current state of the board is done through this object, as well as gathering information about the current state of the board.

bot_prelude

Easy importing of all available bots.

bots

Contains all of the currently completed and experimental bots.

core

Contains various components and structures supporting the creation of a chessboard. This includes SQ, BitBoard, Player, Piece, GenTypes, Rank, and File. Also holds the statically created MagicHelper, which at runtime creates various lookup tables.

engine

This module contains an engine for actually playing chess.

tools

Miscellaneous tools for debugging and generating output.