Generating Narrative in an Interactive Fiction Game

By Martin Li, 16 September, 2020
Author
Publication Type
Language
Year
Record Status
Abstract (in English)

This thesis explores a niche field of Computer Science called Interactive Fiction, a field that utilizes the conventions of a regular story to offer multiple variations on how the story plays out. Our goal is to explore the possibility of developing a game that can generate a story file during game play that not only reads like a short story but reflects the events that transpire during a given game play. During development, we have determined that keeping track of various "states", we can simulate a narrative based on actions that transpire in the game.

We developed the game using a language called Inform 7. Inform 7 is a language developed for Interactive Fiction. It contains classes with functionality similar to real-life objects from a narrative stand-point and provides a system of rules that can be edited to simulate real-life actions and events. The language also bases its syntax on English and is thus easy to read and understand.