About this project
Kingslayer is a text-based adventure game and library written in Rust. The bundled game can be played online at zaechus.github.io/kingslayer-web, installed from crates.io with cargo install kingslayer, or run from a local checkout with cargo run --release.
For custom content, users can define a world file in RON, similar to the included world.ron, and launch it directly with kingslayer custom_world.ron. As a library, it exposes a Game type that can parse a world file and run it with game.play(), or accept manual input and output through the ask method, as demonstrated by the kingslayer-web example.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.