From bf71791fc540a584dd6d88548c91192294d106bc Mon Sep 17 00:00:00 2001 From: dozens Date: Tue, 25 Jun 2024 21:22:35 -0600 Subject: feat: add story engine --- doc/README.md | 12 +++++++++++- doc/tilde30.t | 23 +++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/README.md b/doc/README.md index 0452038..bc998a5 100644 --- a/doc/README.md +++ b/doc/README.md @@ -38,7 +38,8 @@ Here's what it looks like: ## BACKGROUND -9mm is legit a great game. +Nine Mens Morris is legit a great game, +and I like it a lot. One time i wrote an essay about the social contract implicit to nine mens morris: https://write.tildeverse.org/dozens/nine-mens-morris-cultural-meanings-and-social-contracts @@ -49,3 +50,12 @@ https://en.wikipedia.org/wiki/Morabaraba also look at these round cows https://en.wikipedia.org/wiki/Spherical_cow +## USAGE + +1. If you have fennel installed, + run `fennel main.fnl` + +2. If you have fennel installed, + you can compile a binary + using `fennel --compile-binary`. + (See `justfile` for an example of how I do it.) diff --git a/doc/tilde30.t b/doc/tilde30.t index 8a6911a..c17d27d 100644 --- a/doc/tilde30.t +++ b/doc/tilde30.t @@ -310,6 +310,29 @@ for the client to interpret. I'm still interested in the Result / Either monad option but I think I'm doing to first try the conventional lua way and throw an error, and then 'pcall' the function and handle the error politely. +. +. +.IP "WEEK FOUR REVIEW" +Today is the end of tilde30! +I didn't get too much done this week +on account of the surgery. +At least, +I wasn't able to keep up with the daily updates. +I did end up writing a tracery-lite +type templating thing +that you can find +in `src/story`. +I did not succeed in +actually incorporating it into the game. +But it's there. +tilde30 on the whole was a fun exercise +and a success. +I had a lot of fun working on my project, +and I especially had a lot of fun hearing about other people's projects. +Even if they didn't complete them. +I am planning to do it again in September, +and am planning to continue working on 9mm +in the meantime! .pl \n[nl]u -- cgit 1.4.1-2-gfad0