A Chess Engine built in Rust using Bevy ECS.
- Player vs Player, Player vs Engine, and Engine vs Engine modes.
- Fast pseudo-legal move generation using magic bitboards.
- Legal moves generation that accounts for pins and checks.
- Castling and En Passant (AKA the bane of my existence).
- Iterative Deepening
- Alpha-beta pruning with move ordering
- Transposition Tables
- Quiescence Search
- Depth Reductions
- Search Extensions
- Tapered Evaluation
- Material Bonuses
- Piece Square Tables
- Imbalance Evaluation
- Mobility Evaluation
- Install Rust as instructed Here.
- Download and unzip the source code.
- Open a terminal in the directory just created by unzipping the file.
- Compile and run the code using the following commands:
# Compile the code in release mode
cargo build --release
# Run the code in release mode
cargo run --release