8 releases
0.1.7 | Jul 29, 2019 |
---|---|
0.1.6 | Jun 15, 2019 |
0.1.4 | May 31, 2019 |
#841 in WebAssembly
430KB
508 lines
axosnake
About
axosnake is a snake game written in rust with webassembly
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
- logo "axolotl" by @Senk Ju
- font "EXEPixelPerfect" by @Roberto Martínez
License
MIT
Known issues
Not running smoothly in firefox
- Try disabling the
privacy.resistFingerprinting
setting enabled in about:config
Dependencies
~7–16MB
~200K SLoC