Computer-aided storytelling is something very near and dear to me, and I’m always interested in how the medium can be used in new and interesting ways. I’ve written several IF engines in the past, including the Python-based Grendel (which you can find below), and I’ve had enough people show interest in this stuff that I thought it was worth posting online for other people to peruse.

Interactive Fiction engines

I’ve written several interactive fiction engines in a variety of languages over the years. The only one currently publicly available right now is Grendel (linked below), but a few others are on their way.

  • Grendel, a Python-based system with a pretty odd history.

Experiments

  • Story generator – A study in storytelling and morphology, generating dynamic stories based on Georges Polti’s “The Thirty-Six Dramatic Situations” with aspects of Joseph Campbell, David Adams Leeming, and Phil Cousineau’s mythology patterns.
  • Natural language parser – Brutally outdated, given the ready availability of industrial-strength solutions like NLTK, spaCy, and Google’s recent Parsey McParseface, it’s still a good example of how to quickly make sense of basic English commands (like you’d see in many text games–“take the hat”, “eat the hat”, etc).