#game #wasm

app axosnake

a snake game written in rust with quicksilver

8 releases

✓ Uses Rust 2018 edition

0.1.7 Jul 29, 2019
0.1.6 Jun 15, 2019
0.1.4 May 31, 2019

#71 in WebAssembly

Download history 40/week @ 2019-05-18 33/week @ 2019-05-25 16/week @ 2019-06-01 27/week @ 2019-06-08 36/week @ 2019-06-15 32/week @ 2019-06-22 7/week @ 2019-06-29 87/week @ 2019-07-06

95 downloads per month

MIT license

430KB
508 lines

axosnake

Crates.io dependency status pipeline status

About

axosnake is a snake game written in rust with webassembly

screenshot

How to run

Run through web:

Install dependencies for web:

cargo install cargo-web

Run the web server:

cargo web start --target=wasm32-unknown-unknown

Run locally:

Install axosnake through cargo:

cargo install axosnake

Run the binary:

axosnake

Dependencies:

For a list of dependencies look at the quicksilver dependencies.

Demo

You can play the game online on http://www.axosnake.tk

Keybinds

Movement:

  • W/Up - Move upwards
  • A/Left - Move to the left
  • S/Down - Move downwards
  • D/Right - Move to the right

Misc:

  • R/F5 - Reset the game

Credits

License

MIT

Known issues

Not running smoothly in firefox

  • Try disabling the privacy.resistFingerprinting setting enabled in about:config

Dependencies

~3.5–5.5MB
~104K SLoC