5d3e20cf37
Draught
Try it Out!
WASM-based checkers game. Looking to implement a minimax based AI.
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
Description
Rust WebAssembly checkers game
https://draught.sarsoo.xyz
aiboard-gamecpu-playerdraughtsdraughts-gameminimaxminimax-algorithmrustwasmwasm-bindgenwebappwebassembly
Readme
4.6 MiB
Languages
Rust
84.8%
JavaScript
9.1%
HTML
5.6%
Dockerfile
0.5%