This directory contains Inform source code examples
contributed by members of the IF community

# 52.inf

An example program featuring a deck of cards with a
complex listing routine, by Anson Turner.
Release 3 / Serial number 971119.
Requires at least Inform library 6/7 to work properly,
as earlier versions cannot parse names like "the two of
hearts" correctly.

# BakersDozen.zip

13 short Inform programming examples, by Al.

# Beach.zip

The "Isaac Newton's Beach" example from the DM4,
modified by Al to show object creation and
destruction.

# Genie.inf

A demonstration of the scope property, by Al.

# IBGTriform.zip

The three example games from the Inform Beginner's Guide,
ported to the Triform library by "she's long gone".

# NearlyDark.txt

Nearly Dark Rooms, an example for a class of dimly dit
rooms where "take all" does not work, by Graham Nelson.
Posted by Joyce Haslam with Graham's permission.

# Peanuts.inf

A demonstration showing how properties can replace
attributes, by Al.

# Safe.inf

A demonstration of a game containing a safe with a
combination dial, by Al.

# echo.inf

A short game which gives an example of using the
BeforeParsing() entry point to simulate a room where
commands are echoed back to the player, much like
Zork I's Loud Room, by John Menichelli.

# massnoun.inf

Mass Nouns, a demonstration of how to handle items that
come in varying quantities, such as water or sand, written
by  Andrew Plotkin.

# massnoun.z5

A compiled version of Mass Nouns, a demonstration by
Andrew Plotkin.
Release 6 / Serial number 050421

# nalian.inf

An example implementation of a language puzzle, written
by Lucian Smith. Based on the puzzle in "The Edifice",
by the same author, and written to accompany an
article in XYZZYnews 16.

# spin.inf

Compass Spin, An Experiment in Low Strings and Relative
Directions by Brian D. Smith. Inform source code.
A demonstration of the use of relative directions,
i.e., "left", "right", "ahead", "back" etc.

# spin.z5

Compass Spin, An Experiment in Low Strings and Relative
Directions by Brian D. Smith. Compiled Z-code.
Release 1 / Serial number 971126

# surreal.inf

A demonstration of bitwise attributes, a way of creating
attributes beyond the 16 custom ones available in Inform.
Release 2, by Paris Downes.

# takeall.inf

An example Inform program which uses Kory Heath's revised
'ReviseMulti' function which gives control back to the
programmer, so that you can allow commands like 'TAKE ALL'
to work for items in containers or on supporters,
by Lucian Smith. Release 1.

# zorkbank.inf

The Bank of Zork, An Interactive Queueing Model,
by David Wildstrom. Inform source code.
A demonstration of a queueing system.

# zorkbank.z5

The Bank of Zork, An Interactive Queueing Model,
by David Wildstrom. Compiled Z-code.
Release 1 / Serial number 980110
NameLast modifiedSize

Parent Directory  -
52.inf1997-11-19 05:00 11K
BakersDozen.zip2004-04-16 14:41 35K
Beach.zip2005-09-30 16:07 42K
echo.inf2003-11-02 21:02 4.4K
Genie.inf2003-03-26 00:47 3.0K
IBGTriform.zip2005-06-22 05:03 19K
Index2023-12-24 00:08 2.8K
massnoun.inf2005-04-22 03:00 129K
massnoun.z52005-04-22 03:00 107K
nalian.inf1998-08-20 04:00 75K
NearlyDark.txt1999-02-25 05:00 2.8K
Peanuts.inf2005-09-30 14:55 4.6K
Safe.inf2005-01-24 19:57 6.0K
spin.inf1997-11-26 05:00 11K
spin.z51997-11-26 05:00 56K
surreal.inf2005-05-26 23:09 3.9K
takeall.inf1998-04-20 04:00 5.7K
zorkbank.inf1998-01-11 05:00 18K
zorkbank.z51998-01-11 05:00 74K

The IF Archive is a public service of the Interactive Fiction Technology Foundation.

Terms of Use - About Us