Rust WebAssembly checkers game https://draught.sarsoo.xyz
Go to file
dependabot[bot] bccc454597
Bump minimist from 1.2.5 to 1.2.6 in /www
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 05:03:18 +00:00
.github/workflows Replacing wasm-pack install action 2021-07-02 13:53:51 +01:00
docs fixed AI, added win state 2021-07-13 12:07:33 +01:00
src AI perfect chance, rendering with proportions instead of absolute pixel values 2021-07-14 14:08:54 +01:00
tests beginning canvas drawing, fixing warnings 2021-07-02 13:48:07 +01:00
www Bump minimist from 1.2.5 to 1.2.6 in /www 2022-03-30 05:03:18 +00:00
.gitignore initial commit with board skeleton 2021-06-25 18:02:45 +01:00
Cargo.toml fixed AI, added win state 2021-07-13 12:07:33 +01:00
indices moved tests to file, working on can move 2021-06-29 15:37:52 +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