Skip to content

A word-guessing game in web assembly made with Rust and Yew.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

tracehelms/word-guess-rust

Repository files navigation

Word Guessing Game with Rust and Yew

This implements a basic version of a word guessing game. It uses Rust and Yew which compiles to Web Assembly.

Usage

Build

When building for the first time, ensure to install dependencies first.

yarn install
yarn run build

Serve locally

yarn run dev

Run tests

cargo test
yarn test

🔋 Batteries Included

  • wasm-bindgen for communicating between WebAssembly and JavaScript.
  • wee_alloc, an allocator optimized for small code size.

TODO

  • Add Cypress end-to-end tests
  • Break src/app.rs into smaller components
  • Optimize for mobile
  • Add animation instead of "guesses left"

About

A word-guessing game in web assembly made with Rust and Yew.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published