Skip to content

Latest commit

 

History

154 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty Roguelike

Build and run the native game with Cargo:

cargo run --release

Web build

The repository toolchain already includes the wasm32-unknown-unknown target. Build the browser package with:

./build.sh

The script reads the matching wasm-bindgen version from Cargo.lock, installs that CLI under target/wasm-tools, and emits an ES-module package in wasm/pkg. Serve the output over HTTP rather than opening the HTML file directly:

python3 -m http.server --directory wasm

Then open http://localhost:8000. Browser saves are stored in localStorage; native saves remain in savegame.json.

About

Rougelike game with an ECS design pattern

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages