Skip to content

Instantly share code, notes, and snippets.

@ianb
Created November 29, 2022 19:18
Show Gist options
  • Save ianb/b0c11cae37c37874ea6483b85a3c80fc to your computer and use it in GitHub Desktop.
Save ianb/b0c11cae37c37874ea6483b85a3c80fc to your computer and use it in GitHub Desktop.
Zork LLM (GPT-3) first attempt...
## Zork being run by GPT-3...
Welcome!
ZORK I: The Great Underground Empire
Copyright (c) 1981, 1982, 1983 Infocom, Inc. All rights reserved.
ZORK is a registered trademark of Infocom, Inc.
Revision 88 / Serial number 840726
West of House
You are standing in an open field west of a white house, with a boarded front door.
There is a small mailbox here.
>open mailbox
Opening the small mailbox reveals a leaflet.
>read leaflet
(Taken)
"WELCOME TO ZORK!
ZORK is a game of adventure, danger, and low cunning. In it you will explore some of the most amazing territory ever seen by mortals. No computer should be without one!"
>open door
The door cannot be opened.
>enter house
I can't see how to get in from here.
>walk around house
North of House
You are facing the north side of a white house. There is no door here, and all the windows are boarded up. To the north a narrow path winds through the trees.
>go north
Forest Path
This is a path winding through a dimly lit forest. The path heads north-south here. One particularly large tree with some low branches stands at the edge of the path.
>climb tree
Up a Tree
You are about 10 feet above the ground nestled among some large branches. The nearest branch above you is above your reach.
Beside you on the branch is a small bird's nest.
In the bird's nest is a large egg encrusted with precious jewels, apparently scavenged by a childless songbird. The egg is covered with fine gold inlay, and ornamented in lapis lazuli and mother-of-pearl. Unlike most eggs, this one is hinged and closed with a delicate looking clasp. The egg appears extremely fragile.
>get egg
Taken.
>look at egg
The jewel-encrusted egg is closed.
>open egg
You have neither the tools nor the expertise.
>hatch egg
There is a noticeable crunch from beneath you, and inspection reveals that the egg is lying open, badly damaged. There is a golden clockwork canary nestled in the egg. It seems to have recently had a bad experience. The mountings for its jewel-like eyes are empty, and its silver beak is crumpled. Through a cracked crystal window below its left wing you can see the remains of intricate machinery. It is not clear what result winding it would have, as the mainspring seems sprung.
>inspect bird
I don't know the word "inspect".
>look at bird
You can't see any songbird here.
>w
You can't go that way.
>s
You can't go that way.
>e
You can't go that way.
You hear in the distance the chirping of a song bird.
>n
You can't go that way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment