You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1.2 KiB

axosnake

Crates.io

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