1×
Become a member
to unlock all features
Autoplay

    Make A Story Generation Bot with Tracery

    nodeNode.js

    Tracery is a brilliant tool to more easily create text grammars and structure. In this lesson, we’ll create a bot that tweets out tiny stories.

    We'll learn what a grammar is in this context, and how to create one with Tracery. We'll first create a simple story with character, action, place, and object variables, and learn how to add modifiers. Then, we'll create a more complex one, and learn how to set variables that we want to be consistent throughout the story, such as pronouns.

    More information and resources on Tracery can be found at: https://github.com/galaxykate/tracery and http://www.crystalcodepalace.com/traceryTut.html