Skip to content

Instantly share code, notes, and snippets.

@robstenzinger
Created January 30, 2015 03:38
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 robstenzinger/b6f9276525ce69dd6859 to your computer and use it in GitHub Desktop.
Save robstenzinger/b6f9276525ce69dd6859 to your computer and use it in GitHub Desktop.
An experiment with the Twine interactive fiction creation environment/engine
:: Start
You enter the room. It looks familiar - yet you need a moment to remember what it's for.
[[ForFun]] or is it [[ForWork]]?
:: ForFun
Fun fun fun!
Or is it really [[ForWork]]?
:: StoryTitle
For the Fun of It
:: ForWork [style-red]
Work? Work should be fun!
:: CustomScript [script]
alert("let's begin!");
:: StoryAuthor
Anonymous
:: style-red [stylesheet style-red]
/* Your story will use the CSS in this passage to style the page.
Give this passage more tags, and it will only affect passages with those tags.
Example selectors: */
body {
/* This affects the entire page */
background:red;
}
.passage {
/* This only affects passages */
}
.passage a {
/* This affects passage links */
}
.passage a:hover {
/* This affects links while the cursor is over them */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment