Skip to content

Instantly share code, notes, and snippets.

@ashzure-github
Last active June 18, 2024 19:04
Show Gist options
  • Save ashzure-github/af21f2f2b3382ffce555cab687a9f4e5 to your computer and use it in GitHub Desktop.
Save ashzure-github/af21f2f2b3382ffce555cab687a9f4e5 to your computer and use it in GitHub Desktop.
example story
#ENTRYPOINT
"Welcome to the test adventure"
1. "yay" > #excited
2. "nay" > #not-excited_ENDING
#/ENTRYPOINT
#not-excited_ENDING
"well, that's rude, goodbye!" (a header with _ENDING will automatically exit the game when enter is pressed so there's no target)
#/not-excited_ENDING
#excited
"that's great!"
1. "ok, time for the ending" > #normal-end_ENDING
#/excited
#normal-end_ENDING
"thank you for playing!" (a header with _ENDING will automatically exit the game when enter is pressed so there's no target)
#/normal-end_ENDING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment