Skip to content

joern-kalz/webassembly-rust-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webassembly-rust-snake

Develop

Prerequisites

Install Rust

Install wasm-pack, devserver and cargo-watch

cargo install wasm-pack devserver cargo-watch

If installing the devserver fails because of missing ssl library dependencies, you need to first install libssl-dev libraries to your system. On Ubuntu, the command would be

 sudo apt-get install libssl-dev

Build interactively

Build interactively on each change

cargo watch -- wasm-pack build --target web

Serve

devserver

Open http://localhost:8080/ in your browser

Build

Build with

wasm-pack build --target web

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published