Rust WebAssembly checkers game
https://draught.sarsoo.xyz
aiboard-gamecpu-playerdraughtsdraughts-gameminimaxminimax-algorithmrustwasmwasm-bindgenwebappwebassembly
55371fc037
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.11.0 to 3.12.0. - [Release notes](https://github.com/fitzgen/bumpalo/releases) - [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md) - [Commits](https://github.com/fitzgen/bumpalo/compare/3.11.0...3.12.0) --- updated-dependencies: - dependency-name: bumpalo dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github/workflows | ||
docs | ||
src | ||
tests | ||
www | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
indices | ||
package-lock.json | ||
README.md |
Draught
Try it Out!
WebAssembly-based checkers game with a minimax-based AI player.
Rust WASM module for game logic with a JS frontend for rendering and processing user input.
Building
- Setup a Rust + wasm-pack environment and a Node environment
- Build the Rust library into a WASM module
wasm-pack build
- Move to the Js workspace
cd www
- Install the Js dependencies
npm install
- Build the Js frontend with Rust WASM module
npm run build