Jaiffa (Javascript Interactive Fiction/Adventures) is a toy library for the creation of text adventures that can be embedded in a Web page. It was created as a programming exercise and idea testbed. Jaiffa is small, fast, and easy to use, study or modify.

As of 2010-05-18, the demo adventure has been through one round of beta-testing, so it should play somewhat smoothly.

News

Version 2010-04-09 fixes a long-standing (and stupid) bug in ContainerMixin.removeChild(), and the handling of intransitive verbs that was broken in the previous release.

Version 2010-04-08 fixes handling of unknown verbs and enables three-word commands.

Compatibility

Jaiffa works in Firefox 3.5, Opera 10, Arora 0.10 (Webkit-based), and partially in Konqueror 4 and Nokia Browser.

Documentation

See also

Versificator
Robin Johnson's IF library in Javascript. Not designed for general consumption, according to the author.
Parchment
A Z-machine interpreter in Javascript.
JIFFEE
An educational project very similar to Jaiffa. The embedded adventure description language looks unnecessarily complex.
Last modified: Tue 23 11 2010, 08:39:50 UTC