Skip to content

Instantly share code, notes, and snippets.

@janbru
Created February 12, 2016 12:05
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 janbru/f2a3d0f34cf676fb6a25 to your computer and use it in GitHub Desktop.
Save janbru/f2a3d0f34cf676fb6a25 to your computer and use it in GitHub Desktop.

A basic IF demonstration by Jane Doe.

Version 1.0

Hurrying through the rainswept November night, you're glad to see the bright lights of the Opera House. It's surprising that there aren't more people about but, hey, what do you expect in a cheap demo game...?

[Foyer]("Foyer of the Opera House")

You quickly close the door behind you, and shake the water from your cloak. It is a handsome cloak, of velvet trimmed with satin, and slightly splattered with raindrops. Its blackness is so deep that it almost seems to suck light from the room.

You are standing in a spacious hall, splendidly decorated in red and gold, with glittering chandeliers overhead. The entrance from the street is to the north, and there are doorways south and west.

Cloakroom

The walls of this small room were clearly once lined with hooks, though now only one remains. The exit is a door to the east.

Your cloak is on the floor here. Your cloak is hanging on the hook.

Examined Hook

It's just a small brass hook, with your cloak hanging on it|screwed to the wall.

[Bar]("Foyer Bar (In the dark)")

You walk to the bar, but it's so dark here you can't really make anything out. The foyer is back to the north.

Not in the Dark

In the dark? You could easily disturb something.

The bar, much rougher than you'd have guessed after the opulence of the foyer to the north, is completely empty. There seems to be some sort of message scrawled in the sawdust on the floor. The foyer is back to the north.

Examine the message.

[Message]("Foyer Bar")

The message, neatly marked in the sawdust, reads...

You have won!

The message has been carelessly trampled, making it difficult to read. You can just distinguish the words...

You have lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment