Interactive Fiction

Contents

    § Overview
    § 1. Preparing To Play
    § 2. Commands
    § 3. How To Play
    § 4. Writing IF

    Chateâu d’IF home

Overview

Also known as “text adventure games,” Interactive Fiction (or IF) had a brief commercial heyday from the late 1970s to the early 90s, but is generally free these days. IF usually consists of pure text, but a few games include graphics and sound as well.

The basic idea is that the game describes where you are and what you can see, such as:

You are in a verdant field, full of blue and yellow flowers.

— and you respond by typing a command like this:

look at flowers

The game might then respond with:

Which do you mean, the blue flowers or the yellow flowers?

and so on.

There is a very comprehensive introduction here, including an annotated transcript of the beginning of a game called Earth and Sky. This is part of a longer essay about the history of IF.

Here is a smaller example, just in case that is a bit overwhelming ...

Words in blue are entered the player.


Laboratory
The guard dumps you unceremoniously before Nashur, who grins malevolently. He puts aside a small shiny object and points a scrawny finger in your direction.

"So, we meet at last! Guard, leave us."

The guard leaves to the north.

>look
All kinds of bizarre equipment is scattered over a large table in the middle of the room. There is a low shelf along the wall, on which is a small shiny object.

There is a door to the west, and a passageway to the north.

>examine shiny object
It looks like a silver sphere with several small buttons on one side. It's hard to tell, but it might be some kind of weapon.

Nashur looks at you malevolently.

>take shiny object
Nashur steps forward to stop you. "Hands off my cyclotomic accelerator!"

>ask nashur about object
"What's a cyclotomic accelerator?" you ask. "Who told you about the cyclotomic accelerator? Oh, I did. Wait, I'm the one asking the questions!"

Nashur scribbles some notes on a clipboard.

>inventory
You are carrying nothing.

>west
You can't, since the door is in the way.

Nashur mutters something to himself.

>open door
The door is locked.

>east
You cannot go that way.

>north
You take a step towards the passageway, but Nashur says, "Hold it right there! I'm not finished with you yet."

>attack nashur
With surprising agility, Nashur dodges your attack. "Now where did that get you?" he says angrily.

>hint
You need to find a way to distract Nashur's attention.

>look at table
The table is covered with clutter. You can't identify any of the objects on it; it's as if an explosion has scattered them everywhere.

>look at nashur
Nashur is a tall, thin scientist type, with frizzy white hair and glasses. He is holding a clipboard covered with mathematical symbols and diagrams.

There is a blue pen in his breast pocket, which is leaking all over his shirt.

>tell nashur about pen
"Your pen is leaking", you say.

Nashur looks down in surprise, and says, "Oh, for goodness' sake!" He turns towards the north passage and yells, "Guard! Fetch some water. Right now!"

>take shiny object
You grab the cyclotomic accelerator from the shelf. It has three buttons, a red one, a blue one and a green one. It seems to be vibrating slightly.

Nashur turns and notices the accelerator in your hands, a look of horror on his face ...

Next: Preparing to play IF.

Links

Chateâu d’IF home