matt-williams / cat-collector

Playing around with Rust/WebAssembly - incomplete Ludum Dare 40 entry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cat-collector

This was an attempt at an entry for the Ludum Dare 40 game jam. Unfortunately, I ran out of time and didn't get it into a playable state.

It was, however, successful in allowing me to play with Rust/WebAssembly.

Play it here

It's a text adventure. The theme of Ludum Dare 40 was "the more you have, the worse it is", which made me think of cats. You start off with one cat, but more come in as long as you leave the doors open (and they scratch at the doors if you don't). I didn't have time to implement anything to encourage you to take cats in, or to allow you to "fail" when there were too many cats. :(

Building

To build,

  • ensure you have the latest Rust nightly, the wasm32-unknown-unknown target and wasm-gc installed - follow these instructions
  • run cargo +nightly build --target=wasm32-unknown-unknown --release
  • run wasm-gc target/wasm32-unknown-unknown/release/cat_collector.wasm target/wasm32-unknown-unknown/release/cat_collector.wasm.

About

Playing around with Rust/WebAssembly - incomplete Ludum Dare 40 entry


Languages

Language:Rust 81.9%Language:HTML 18.1%