Skip to content

Instantly share code, notes, and snippets.

@mapsam
Last active August 29, 2015 14:26
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 mapsam/249a1dfb5bcc86908006 to your computer and use it in GitHub Desktop.
Save mapsam/249a1dfb5bcc86908006 to your computer and use it in GitHub Desktop.
Test Wand.js object
{
"elem": "wizard",
"nodes": [
{
"id": 0,
"title": "Are you having a seriously good time?",
"content": "",
"type": "pickOne",
"triggers": [
{
"content": "Yah dude!",
"target": 1
},
{
"content": "Eh, not really.",
"target": 3
}
]
},
{
"id": 1,
"title": "Do you want to continue having a good time?",
"content": "Don't let the good vibes end.",
"type": "pickOne",
"triggers": [
{
"content": "Let the good times roll.",
"target": 4
},
{
"content": "I'm done for today.",
"target": 3
}
]
},
{
"id": 3,
"title": "Okay.",
"content": "We are done here. The good times are complete. This should be a 'result'.",
"type": "pickOne"
},
{
"id": 4,
"title": "Great.",
"content": "Continue having a good time! This should be a 'result'.",
"type": "pickOne"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment