A Chess implementation on the terminal (pass-to-play), written in Rust.
- Grid display in the terminal
- Two players
- I/O to play the game
- Every piece of Chess
- Double pawn push
- Castle
- En passant
- Pawn upgrade
- Check, Checkmate and Stalemate
- Tie by 50 moves rules
- Every normal feature of chess not cited in the future features
- Tie by repeated moves (3 or 5)
- Tie by missing material (Now it only works when kings are the only piece on the board)
- Minimax to implement a bot
- Rust (stable) — install via rustup
Clone the repository and build it in release mode:
git clone https://github.com/CieriA/rusty-chess
cd rusty-chess
cargo build --releasecargo run --release- A1-H8 / a1-h8 → to index the board from the terminal
This project uses the following crates:
- colored
- indexmap
To build the documentation locally:
cargo doc --openThis project is licensed under the ISC License. For more info, see the LICENSE file.