Introduction

Twine is a visual tool for making interactive fiction.

        
  if (objectTaken==true) {initiate rain()};
      
      
Interface

The interface is pretty easy to understand. Click on new game, click on the boxes, connnect to one another, you get a game.

  •         
    if (game==good) {initiate publish()};
            
          
           
    exports.myDateTime = function () {
       return Date();
    };
           
         
    Storyscript

    There's sugarcube, harlowe, snowman, and chapbook.

            
    var http = require('http');
            
          
    Styles

    Different Storyscripts have different styles.

            
    var fs = require('fs');
            
          
    Javascript

    You can extend your storyscript's features with javascript.

            
    var url = require('url');
            
          
    Tweego

    Now this is something interesting, write your entire game with text files and compile with tweego.