Skip to content

jthemphill/htmf

Repository files navigation

Hey, that's my fish!

Simple webapp version of a deceptively simple children's game

You can play a productionized Webassembly version of the game at https://jthemphill.github.io/htmf

How to run in Webassembly mode

When running in Webassembly mode, the AI runs entirely locally on the client. This is suitable for a "static" site like a Github page, where you're allowed to ship HTML/CSS/JS to a client but aren't allowed to consume server resources.

WebAssembly mode utilizes WebAssembly threads, which have not been standardized yet.

So for now, you'll need a nightly build of Rust:

% rustup install nightly

Lastly, you will need npm in order to build this game's TypeScript.

Once you have a nightly build of Rust and a build of npm:

  1. Go to wasm/www.
  2. Run npm run build:wasm-st to build the WebAssembly.
  3. Run npm run dev to start the Vite devserver.

About

"Hey, That's My Fish!" A webapp implementation of a deceptively simple children's game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages