Skip to content

omerwyo/snakegame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

A Snake Game built with Rust and WebAssembly

Gameplay

Building

Make sure you have Rust and wasm-pack installed.

To install wasm-pack on *nix systems:

$ curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

Or follow the instructions here.

To build this project, run:

$ wasm-pack build --target web

To run this project, you need a static file server. You can install serve with npm:

$ npm install serve -g

Now, start your static file server and open index.html:

$ serve

About

Snake Game made with Rust and WebAssembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published