Sarsoo / draught

Rust WebAssembly checkers game

Home Page:https://draught.sarsoo.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Draught

gof-ci

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

About

Rust WebAssembly checkers game

https://draught.sarsoo.xyz/


Languages

Language:Rust 84.8%Language:JavaScript 9.1%Language:HTML 5.6%Language:Dockerfile 0.5%