mirror of https://git.sr.ht/~garritfra/midgard
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.
|
2 years ago | |
---|---|---|
contrib | 2 years ago | |
src | 2 years ago | |
wasm | 2 years ago | |
.gitignore | 2 years ago | |
Cargo.lock | 2 years ago | |
Cargo.toml | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago |
README.md
Legends of Midgard
Legends of Midgard is a terminal-based rogue-like role playing game.
Building
Rust and Cargo need to be installed to run this game. Then, simply run the following command:
cargo run
Building for the web
This game can be compiled to wasm, to be included on a website.
To do this, there's a build_wasm.sh
file in the contrib/
directory.
Execute it from the root of the project, then host the wasm
directory with a web-server of your choice.
sh contrib/build_wasm.sh
cd wasm
python3 -m http.server
License
This game is licensed under GPLv3.