Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gcarq/chess-engine

WIP chess engine written in Rust with bevy
https://github.com/gcarq/chess-engine

bevy

Last synced: 24 days ago
JSON representation

WIP chess engine written in Rust with bevy

Awesome Lists containing this project

README

        

# chess-engine

This is a *WIP* chess engine written in Rust and [bevy](https://bevyengine.org/) 0.7.
In the current state the engine can handle basic piece movements and rendering.

The assets in use are copied from [lichess](https://github.com/lichess-org/lila/tree/master/public/images), authors and license can be found [here](https://github.com/lichess-org/lila/blob/master/COPYING.md#exceptions-free).

![Screenshot_20220725_134138](https://user-images.githubusercontent.com/4720529/180769948-58580c81-615a-407c-9b72-77605cc20b96.png)

## Run

Use `cargo run` to launch the app, when built in debug mode a debug inspector will be shown as well.

## Board interaction

Click *left* mouse button to select a piece and click again on a target square where the piece should go.

## TODOs

* Implement piece capturing and missing rules (castling, en passant)
* Add check handling and win conditions
* Add system to import positions with FEN and PGN and replay them
* Implement proper UI