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
 NameMtimeSizeType
0 52.inf 1997-11-19 05:00:00Z 11 KiB application/octet-stream
1 BakersDozen.zip 2004-04-16 14:41:55Z 35 KiB application/zip
2 Beach.zip 2005-09-30 16:07:10Z 42 KiB application/zip
3 Genie.inf 2003-03-26 00:47:36Z 3.0 KiB application/octet-stream
4 IBGTriform.zip 2005-06-22 05:03:04Z 19 KiB application/zip
5 Index 2023-12-24 00:08:31Z 2.8 KiB text/plain
6 NearlyDark.txt 1999-02-25 05:00:00Z 2.8 KiB text/plain; charset=utf-8
7 Peanuts.inf 2005-09-30 14:55:15Z 4.6 KiB application/octet-stream
8 Safe.inf 2005-01-24 19:57:26Z 6.0 KiB application/octet-stream
9 echo.inf 2003-11-02 21:02:17Z 4.4 KiB application/octet-stream
10 massnoun.inf 2005-04-22 03:00:31Z 129 KiB application/octet-stream
11 massnoun.z5 2005-04-22 03:00:39Z 107 KiB application/x-zmachine
12 nalian.inf 1998-08-20 04:00:00Z 74 KiB application/octet-stream
13 spin.inf 1997-11-26 05:00:00Z 11 KiB application/octet-stream
14 spin.z5 1997-11-26 05:00:00Z 56 KiB application/x-zmachine
15 surreal.inf 2005-05-26 23:09:23Z 3.9 KiB application/octet-stream
16 takeall.inf 1998-04-20 04:00:00Z 5.7 KiB application/octet-stream
17 zorkbank.inf 1998-01-11 05:00:00Z 18 KiB application/octet-stream
18 zorkbank.z5 1998-01-11 05:00:00Z 74 KiB application/x-zmachine