Open filiph opened 6 years ago
"It's just a flesh wound!"
Some more context of the fight/simulation system: https://medium.com/@filiph/skyrim-rendered-in-text-1899548ab2c4. In the article, I'm also explaining the concept of "fractal stories" employed in both the book and this NaNoGenMo entry.
I just realized you'll have trouble running the code because I based this hack on the master branch of Insignificant Little Vermin, which depends on a currently closed-source package. If you want to play around with the system, use the dev
branch.
Since I'm reusing code for a game, there's a lot of it. If you want to read the interesting parts, here are a few tips:
Ok, I couldn't resist and made some minor bug fixing today, plus added a script for PDF generation. There are now 2 outputs.
Thanks @hugovk for organizing this. It was a lot of fun!
This is great! I remember thinking when reading your article about fractal stories a few weeks ago that a lot of these ideas could be applied to generating books/NaNoGenMo texts as well—nice to see some amusing experiments based on that core work.
Yeah, this is incredible! I loved reading about and playing your "Insignificant Little Vermin" text adventure.
Briana is a real survivor, isn't she?
This is a hack of my own IFCOMP entry (a procedural gamebook). The NaNoGenMo version removes all interactivity, switches from second person to third person, and keeps the initial fight going ad infinitum.
Output
Code
Here's the code: https://github.com/filiph/edgehead/tree/nanogenmo2017
You run the code by cloning the repo, installing Dart, running
pub get
and thendart bin/play.dart --automated
. It's actually very slow, partly because the actors in the book are planning each move, and partly because this is not what this thing is optimized for.See comment below for more info and best starting points.
Excerpts
Here's the first page of output2.pdf:
Page 147:
Here's an early excerpt:
Here's the algorithm in action, as it writes in realtime: