👑 Kingslayer ⚔️
Kingslayer is a text-based dungeon crawler written in Rust. It is a continuation of thekinggame.
Playing the game
You can play an online WASM version here: zaechus.github.io/kingslayer-web
You can also install Kingslayer:
cargo install kingslayer
kingslayer
or clone the project and run it:
cargo run --release
Creating and Running your own World
Worlds can be created with RON and Rust helper functions. Running the world on the command line looks like this:
use Cli;
or the loop can be managed manually like this:
use Cli;
This method allows for other forms of input and output such as within a website. The content for the world can also be passed as a raw string with Cli::from_ron_str
.
Dependencies
- Rust/Cargo ^1.59.0