https://github.com/stefansalewski/egui-chess
Plain egui interface for the tiny salewski chess engine
https://github.com/stefansalewski/egui-chess
Last synced: 4 months ago
JSON representation
Plain egui interface for the tiny salewski chess engine
- Host: GitHub
- URL: https://github.com/stefansalewski/egui-chess
- Owner: StefanSalewski
- License: mit
- Created: 2024-06-02T12:24:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-08T10:43:29.000Z (over 1 year ago)
- Last Synced: 2025-02-06T04:46:08.081Z (8 months ago)
- Language: Rust
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Egui Chess
## Deprecated
Please consider using [tiny-chess](https://github.com/StefanSalewski/tiny-chess) instead. The tiny-chess version executes the chess engine in a background thread, preventing the GUI from blocking. However, be aware that it has not been extensively tested yet and its code is slightly more complex.
In the future, we may remove this version or replace its engine with the extended one from tiny-chess.

This Rust version of salewski-chess features a basic `egui` user interface without threading support.
The Rust engine code avoids global variables and includes several bug fixes and improvements over the original Nim version.
### Features
- **User Interface**: The `egui` interface allows setting the time per move, selecting players, and rotating the board.
- **Game Modes**: Supports human vs. human gameplay and engine auto-play.
- **Move List**: When launched from the terminal, the program can print the move list.### Current Limitations
This version does not use a separate thread for the engine, causing the GUI to block for a few seconds during computations. This can be inconvenient for auto-play, which is primarily intended for testing purposes.
### How to Run
```sh
git clone https://github.com/stefansalewski/egui-chess.git
cd egui-chess
cargo run --release
```