#adventure

cyoa

A Crate to facilitate the creation of Choose-Your-Own-Adventure games in a text-based format

3 releases

0.1.3 May 20, 2021
0.1.2 May 20, 2021
0.1.0 May 19, 2021

#18 in #adventure

MIT license

6KB
101 lines

CYOA-rs

A text-based choose-your-own-adventure game engine written in Rust.

How to use

Take a look at the example file. The game itself is written in JSON, and is serialized on load. The engine itself is very idiomatic, and should be easy to figure out.

Demo

Check out Crime and Punishment recreated in this game engine.


lib.rs:

A Crate to facilitate the creation of Choose-Your-Own-Adventure games in a text-based format

Dependencies

~0.7–1.7MB
~36K SLoC