Skip to content
/ pagurus Public

๐Ÿš+๐Ÿฆž Ultra-portable Rust game engine suited for offline 2D games powered by WebAssembly

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

sile/pagurus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

pagurus

pagurus Documentation Actions Status License

๐Ÿš+๐Ÿฆž Ultra-portable Rust game engine suited for offline 2D games powered by WebAssembly.

Examples

Snake

Traditional snake game: examples/snake_game

How to build and run locally

Build the game:

$ cargo build --release -p snake_game --target wasm32-unknown-unknown
$ ls target/wasm32-unknown-unknown/release/snake_game.wasm

Run the game on the terminal:

$ cargo run --release -p snake_game --features tui

Run the game on a Web Browser:

$ cd web/
$ npm install
$ npm run build

// A HTTP server listening on 8000 port will start
$ cd ../
$ python3 -m http.server
$ open http://localhost:8000/examples/snake_game/web/

Projects that use Pagurus

About

๐Ÿš+๐Ÿฆž Ultra-portable Rust game engine suited for offline 2D games powered by WebAssembly

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published