Rust WebAssembly checkers game https://draught.sarsoo.xyz
Go to file
Andy Pack 30bfa204e9
All checks were successful
test and deploy / Build Native (push) Successful in 9m52s
test and deploy / Build WASM (push) Successful in 10m14s
test and deploy / Package Library (push) Successful in 26s
test and deploy / Package Container (push) Successful in 2m4s
taking out default build flags
2024-07-28 15:56:52 +01:00
.gitea/workflows taking out default build flags 2024-07-28 15:56:52 +01:00
.github/workflows updating toolchains 2024-07-28 15:49:38 +01:00
.jenkins adding build and test to jenkins 2024-02-01 21:18:21 +00:00
draught updating deps 2024-07-28 15:43:35 +01:00
draught_web updating deps 2024-07-28 15:43:35 +01:00
draughtlib updating deps 2024-07-28 15:43:35 +01:00
.dockerignore more container fiddling 2024-02-01 19:05:13 +00:00
.gitignore splitting major logic into library, lots of wasm guards 2024-02-01 17:51:05 +00:00
Cargo.lock updating deps 2024-07-28 15:43:35 +01:00
Cargo.toml splitting major logic into library, lots of wasm guards 2024-02-01 17:51:05 +00:00
Dockerfile updating toolchains 2024-07-28 15:49:38 +01:00
indices moved tests to file, working on can move 2021-06-29 15:37:52 +01:00
README.md Update README.md 2024-02-09 18:53:54 +00:00

Draught

gof-ci

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.

Read the docs here. Read the blog post here.

Screenshot

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