Twine (software)

Twine is a free open-source tool created by Chris Klimas for making interactive fiction and hypertext fiction in the form of web pages. It is available on Mac OS X, Windows, and Linux.

Software
Twine emphasizes the visual structure of hypertext, and does not require knowledge of a programming language as many other game development tools do. It is regarded as a tool which can be used by anyone interested in interactive fiction and experimental games.

Twine 2 is a browser-based application written in HTML5 and Javascript, also available as a standalone desktop app; it also supports CSS. It is currently in version 2.9.0, as of June 2024.

Rather than using a fixed scripting language, Twine supports the use of different "story formats". In Twine 1, these mostly affected how a story was displayed rather than how it was written, but Twine 2 story formats combine style, semantic rules and markup conventions and are described as "dialects" of the Twine language. There are many story formats; they include Harlowe (the default format for Twine 2), SugarCube (based on the original format used by Twine 1), Snowman (which integrates JavaScript libraries into Twine) and Chapbook (a "second generation" format created and maintained by Twine creator Chris Klimas). Twine 2 also supports "proofing formats", which are designed to output Twine content in a variety of ways to allow for on-screen proofing and error checking, as well as conversion of Twine stories into other formats.

Notable works

 * Rat Chaos (2012)
 * Howling Dogs (2012)
 * Depression Quest (2013)
 * Queers in Love at the End of the World (2013)
 * The Uncle Who Works for Nintendo (2014)
 * The Writer Will Do Something (2015)
 * The Temple of No (2016)
 * Arc Symphony (2017)
 * c ya laterrrr (2017)
 * You Are Jeff Bezos (2018)

Film
Twine was used by writer Charlie Brooker in developing the interactive film Black Mirror: Bandersnatch.