StefanSalewski / rust-chess

Port of salewski-chess from Nim to Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-chess

Rust version of salewski-chess, just as a learning excercise.

Alt text

The Rust code avoids the use of global variables and has some bug fixes and improvements compared to the initial Nim version.

Unfortunately the code of the Rust GTK GUI is very ugly and the GUI itself is very restricted. Perhaps we will make a Xilem GUI later.

To allow replaying a game, we have recently added a way to print the move list: Double click on an empty chess square, and the movelist is printed in the terminal.

You might prefer the new version with the egui user interface: https://github.com/StefanSalewski/egui-chess

git clone https://github.com/stefansalewski/rust-chess.git
cd rust-chess
cargo run --release

About

Port of salewski-chess from Nim to Rust

License:MIT License


Languages

Language:Rust 100.0%