Skip to content

Instantly share code, notes, and snippets.

@iterion
Last active January 2, 2016 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iterion/8305561 to your computer and use it in GitHub Desktop.
Save iterion/8305561 to your computer and use it in GitHub Desktop.
Twitter Text Adventure Game Story Generation

Basic Idea

framework(user_data) -> story

Framework

The framework is an outline of a story or story elements that are basically a function of user_data. The framework at its simplest is a madlib that is randomly filled in with user data.

User Data

User data would probably include:

  • Name
  • List of friends (sorted by number of interactions)
  • List of commonly used words, grouped by part of speech

Story

A network of story elements connected via transitions initiated by user interaction.

Story element (stage, level)

Stages/levels in the story that provide the user with a scenario and have transitions to new story states.

Other random thoughts/questions

  • Could potentially generate stages at run time from a pool of different frameworks?
  • Group transitions into categories (good, bad, terrible, fantastic) -> perhaps a numerical scale of benefit for user?
  • What is win/lose state?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment