#game #snake #quicksilver

app axosnake

a snake game written in rust with quicksilver

8 releases

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

#841 in WebAssembly

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

~7–16MB
~200K SLoC