This is a simple chess game written in Rust. It is a work in progress and contains different submodules for the different parts of the game.
- core contains the game logic
- gui contains the graphical user interface for playing the game
- cli contains the command line interface
- wasm contains a wasm playground for the game
Install the rust compiler, change directory into the repo and run:
cargo run
This will start the gui. You can also play the game using the cli when you run:
cd cli && cargo run
To build for web run:
./build_web.sh
You need to have the emscripten toolchain installed.
The compilation was tested using emcc version 4.0.2 (7591f1c5ea0adf6f4293cfba2995ee9700aa0d93)
.
- create modules
- GUI
- docs
- smart chess computer