Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gcarq/chess-engine
- Owner: gcarq
- License: agpl-3.0
- Created: 2022-07-25T11:39:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-17T22:46:23.000Z (almost 2 years ago)
- Last Synced: 2024-07-30T17:22:45.987Z (3 months ago)
- Topics: bevy
- Language: Rust
- Homepage:
- Size: 300 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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