Rust WebAssembly checkers game https://draught.sarsoo.xyz
Go to file
Andy Pack 1df1472e20
Some checks failed
test and deploy / Build Native (push) Failing after 10m2s
test and deploy / Build WASM (push) Successful in 10m34s
test and deploy / Package Container (push) Successful in 1m19s
fixing test
2024-07-19 22:45:29 +01:00
.gitea/workflows adding rust install 2024-07-19 20:43:41 +01:00
.github/workflows more container fiddling 2024-02-01 19:05:13 +00:00
.jenkins adding build and test to jenkins 2024-02-01 21:18:21 +00:00
draught bit of refactoring, adding cli stuff 2024-07-19 22:38:04 +01:00
draught_web bit of refactoring, adding cli stuff 2024-07-19 22:38:04 +01:00
draughtlib fixing test 2024-07-19 22:45:29 +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 bit of refactoring, adding cli stuff 2024-07-19 22:38:04 +01:00
Cargo.toml splitting major logic into library, lots of wasm guards 2024-02-01 17:51:05 +00:00
Dockerfile more container fiddling 2024-02-01 19:05:13 +00: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