Rust WebAssembly checkers game https://draught.sarsoo.xyz
Go to file
dependabot[bot] 55371fc037
Bump bumpalo from 3.11.0 to 3.12.0
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>
2023-01-20 22:20:20 +00:00
.github/workflows adding move execution time, adding cname file 2022-05-05 23:02:04 +01:00
docs adding move execution time, adding cname file 2022-05-05 23:02:04 +01:00
src updating deps 2022-09-17 22:50:06 +01:00
tests beginning canvas drawing, fixing warnings 2021-07-02 13:48:07 +01:00
www Bump terser from 5.12.1 to 5.14.2 in /www 2022-07-21 01:14:05 +00:00
.gitignore adding move execution time, adding cname file 2022-05-05 23:02:04 +01:00
Cargo.lock Bump bumpalo from 3.11.0 to 3.12.0 2023-01-20 22:20:20 +00:00
Cargo.toml updating deps 2022-09-17 22:50:06 +01:00
indices moved tests to file, working on can move 2021-06-29 15:37:52 +01:00
package-lock.json adding move execution time, adding cname file 2022-05-05 23:02:04 +01:00
README.md fixed AI, added win state 2021-07-13 12:07:33 +01: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.

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