Rust WebAssembly checkers game
https://draught.sarsoo.xyz
aiboard-gamecpu-playerdraughtsdraughts-gameminimaxminimax-algorithmrustwasmwasm-bindgenwebappwebassembly
59d9fb528c
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4. - [Release notes](https://github.com/caolan/async/releases) - [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md) - [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4) --- updated-dependencies: - dependency-name: async dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github/workflows | ||
docs | ||
src | ||
tests | ||
www | ||
.gitignore | ||
Cargo.toml | ||
indices | ||
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