In-browser Hangman game in Rust via WASM


Getting familiar with Rust and WebAssembly. Building a simple in-browser hangman game using wasm-pack.

🚴 Usage

  • Open game/index.html
  • Play game!


🛠️ Build with wasm-pack build

wasm-pack build

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🎁 Publish to NPM with wasm-pack publish

wasm-pack publish