aboutsummaryrefslogtreecommitdiff
path: root/examples/text-adventure/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/text-adventure/main.rs')
-rw-r--r--examples/text-adventure/main.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/text-adventure/main.rs b/examples/text-adventure/main.rs
new file mode 100644
index 0000000..788c3d5
--- /dev/null
+++ b/examples/text-adventure/main.rs
@@ -0,0 +1,11 @@
+//! A small example text adventure, the logic of which is implemented as a Free Monad based eDSL.
+//!
+//! The goal of this game is to buy a sausage roll.
+
+mod dsl;
+mod logic;
+mod side_effects;
+
+fn main() {
+ let game = logic::game();
+} \ No newline at end of file