Rust WebAssembly checkers game https://draught.sarsoo.xyz
Go to file
2021-06-29 15:37:52 +01:00
.github/workflows splitting file structure, enabling pages deployment 2021-06-26 21:13:06 +01:00
src moved tests to file, working on can move 2021-06-29 15:37:52 +01:00
tests splitting file structure, enabling pages deployment 2021-06-26 21:13:06 +01:00
www splitting file structure, enabling pages deployment 2021-06-26 21:13:06 +01:00
.gitignore initial commit with board skeleton 2021-06-25 18:02:45 +01:00
Cargo.toml initial commit with board skeleton 2021-06-25 18:02:45 +01:00
indices moved tests to file, working on can move 2021-06-29 15:37:52 +01:00
README.md initial commit with board skeleton 2021-06-25 18:02:45 +01:00

Draught

gof-ci

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

  1. Setup a Rust + wasm-pack environment and a Node environment
  2. Build the Rust library into a WASM module
    • wasm-pack build
  3. Move to the Js workspace
    • cd www
  4. Install the Js dependencies
    • npm install
  5. Build the Js frontend with Rust WASM module
    • npm run build