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.
 
 
nycex f4e09b3266
move to codeberg
2 years ago
assets fix for downloading via cargo install 2 years ago
src make code more readable 2 years ago
static move to codeberg 2 years ago
.gitignore add Cargo.lock 2 years ago
.gitlab-ci.yml Update .gitlab-ci.yml 2 years ago
Cargo.lock update dependencies 2 years ago
Cargo.toml move to codeberg 2 years ago
LICENSE initial commit 2 years ago
README.md move to codeberg 2 years ago
logo.png initial commit 2 years ago
screenshot.png add screenshot 2 years ago

README.md

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