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.
Garrit Franke
0239d770d2
|
3 years ago | |
---|---|---|
contrib | 3 years ago | |
src | 3 years ago | |
wasm | 3 years ago | |
.gitignore | 3 years ago | |
Cargo.lock | 3 years ago | |
Cargo.toml | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 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.