Skip to content

Instantly share code, notes, and snippets.

@bnrubin
Created March 28, 2012 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bnrubin/2226155 to your computer and use it in GitHub Desktop.
Save bnrubin/2226155 to your computer and use it in GitHub Desktop.
Interactive Fiction Test #2
### playthrough
Zack
An Interactive Fiction by Benjamin Rubin
Release 1 / Serial number 120328 / Inform 7 build 6G60 (I6/v6.32 lib 6/12N)
SD
Bedroom
You awake after a rather strange dream. Unsurprisingly, your bedroom is
just as you left it: messy.
A clothes dresser occupies a space along the north wall. Some unfolded
clothes stick out of one of the drawers. A fishbowl sits atop the dresser.
Your desk is next to the dresser.
Your bed sits along the west wall.
On the dresser is a fishbowl (in which is a fish).
You can also see a bed here.
> >x desk
Bedroom 0/2
(the desk)
As a reporter, you don't spend much time at your home office. You do recall
using the desk for something recently though. Perhaps there is something
important inside.
> >open desk drawer
Bedroom 0/3
You open the desk drawer, revealing a kazoo.
> >x kazoo
Bedroom 0/4
This kazoo helped you get to the regional kazooing semi-finals. It is made
of yellow and orange plastic.
> >take kazoo
Bedroom 0/5
Taken.
> >x desk
Bedroom 0/6
(the desk)
As a reporter, you don't spend much time at your home office. You do recall
using the desk for something recently though.
> >open dresser drawer
Bedroom 0/7
You open the dresser drawer, revealing a phone bill and some clothes.
> >x bill
Bedroom 0/8
A long overdue phone bill. You should probably pay this.
> >take clothes
Bedroom 0/9
You are already wearing something, best to leave these here.
> >
### code
"Zack" by "Benjamin Rubin".
Bedroom is a room. "You awake after a rather strange dream. Unsurprisingly, your
bedroom is just as you left it: messy.
A clothes dresser occupies a space along the north wall. Some unfolded clothes
stick out of one of the drawers. [if the fishbowl is on top of the dresser] A
fishbowl sits atop the dresser. [end if]
Your desk is next to the dresser.
Your bed sits along the west wall.
"
A bed is fixed in place in the bedroom.
The sheets are part of the bed.
The bedroom contains a dresser. The dresser is scenery.
A dresser drawer is part of the dresser. It is a closed, openable, opaque
container.
A fishbowl is on the dresser. It is a transparent container. The description is
"The dirtiest fishbowl you have ever seen."
A fish is inside the fishbowl. The description is "Your fish, Sushi."
A phone bill is inside the dresser drawer. The description is "A long overdue
phone bill. You should probably pay this."
The clothes are inside the dresser drawer. The clothes are fixed in place. The
indefinite article is "some".
Instead of taking clothes: say "You are already wearing something, best to leave these here."
The bedroom contains a desk. The desk is scenery. The description is "As a
reporter, you don't spend much time at your home office. You do recall using the
desk for something recently though. [if the kazoo is in the desk drawer] Perhaps
there is something important inside. [end if]"
A desk drawer is part of the desk. It is a closed, openable, opaque container.
A kazoo is inside the desk drawer. The description is "This kazoo helped you get
to the regional kazooing semi-finals. It is made of yellow and orange plastic."
The den is east of the bedroom.
The kitchen is east of the den.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment