Skip to content

Instantly share code, notes, and snippets.

@joegiralt
Created June 4, 2013 04:12
Show Gist options
  • Save joegiralt/5703519 to your computer and use it in GitHub Desktop.
Save joegiralt/5703519 to your computer and use it in GitHub Desktop.
Alien tourist
anything in all caps is an object
Assuming that all the objects, their colors, positions, in the image are true:
on the TABLE there is a KNIFE, a PLATE, a JAR_OF_PEANUTBUTTER, and a JAR_OF_JELLY and a BAG OF BREAD.
a TABLE is defined as such:
it is orange
it is also square
objects can be placed upon it
a JAR_OF_PEANUTBUTTER is defined as such:
it has a LID
it is a orange glass cylinder
it contains PEANUTBUTTER
it is has a diagonal labled, labled, "PB"
a LID is defined as such:
it is metal
it is circular and disk-like
it is white
it can be separated from the JAR_OF_PEANUTBUTTER or the JAR_OF_JELLY if twisted clockwise while the JAR_OF_PEANUTBUTTER stays stationary
PEANUTBUTTER is defined as such:
a tan/brown creamy / putty like Non_newtonian fluid inside the JAR_OF_PEANUTBUTTER that makes earthinglings go crazy
JAR_OF_JELLY is defined as such:
it contains JELLY
it is purple
it has a LID
it has a lable that reads, "Jelly"
JEllY is defined as such:
it is a Purple non-newtonian fluid that is sweet tasting and smelling
it can be inside the JAR_OF_JELLY
a BAG_OF_BREAD is defines as such:
it is yellow
it is a bag
it contains BREAD
it is closed with a TIE
BREAD is defined as such:
it is a spongy rectangular object seperated into square like objects called SLICED_BREAD
a TIE is defined as such:
piece of wire that binds the bag closed upon twisting
ALIEN is defined as such:
it is green
it loves new york
it is a tourist
it has EYES
it has a LEFTHAND
it has a RIGHTHAND
understands all engish verbs and grammer
understand all forms of earthing metrics and measurments
cannot interact with objects improperly
a LEFTHAND is defined as such:
it is an appendage that can interact and manipulate objects
it attached to the left side of the body via an arm
a RIGHTHAND is defined as such:
it is an appendage that can interact and manipulate objects
it attached to the right side of the body via an arm
EYES are defined as such:
it idenitfies objects and thier properties
KNIFE is defined as such:
it is silver
it is serated
it is metal
it can spread PEANUTBUTTER and JELLY
it can cut BREAD
it can remove PEANUTBUTTER and JELLY from thier containers
PLATE is defined as such
it is circular
it can contain objects smaller than it
objects can be placed upon it
the ALIEN and the TABLE and not be placed upon it
the ALIEN is YOU
YOU will identiy object by thier properties
YOU will interact with objects and execute the given instructions in the order they are received.
Open the JAR_OF_PEANUTBUTTER by twisting the LID of the jar clockwise and with your LEFTHAND holding the JAR_OF_PEANTBUTTER stationary with your RIGHTHAND.
Place the open JAR_OF_PEANUTBUTTER upon the TABLE with your RIGHTHAND in a way that the opening of the jar is facing away from the table.
Place LID of the JAR_OF_PEANUTBUTTER upon the table with your LEFTHAND in a way that the peanutbuttered side is facing away from the table.
Open the JAR_OF_JELLY by twisting the LID of the jar clockwise and with your LEFTHAND holding the JAR_OF_JELLY stationary with your RIGHTHAND.
Place the open JAR_OF_JELLY upon the TABLE with your RIGHTHAND in a way that the opening of the jar is facing away from the table.
Place LID of the JAR_OF_JELLY upon the table with your LEFTHAND in a way that the jellied side is facing away from the table.
Remove TIE with both LEFTHAND and RIGHTHAND from BAG_OF_BREAD.
Place TIE on TABLE with both LEFTHAND and RIGHTHAND.
With LEFTHAND remove 1 SLICED_BREAD from BAG_OF_BREAD
With LEFTHAND place 1 SLICED_BREAD on the PLATE Flat.
With LEFTHAND remove 1 SLICED_BREAD from BAG_OF_BREAD
With LEFTHAND place 1 SLICED_BREAD on the TABLE in close proximity to the PLATE flat.
With RIGHTHAND Grab KNIFE.
With KNIFE extract 3oz of PEANUTBUTTER from JAR_OF_PEANUTBUTTER.
With KNIFE spread the 3oz of PEANUTBUTTER on the side of the SLICED_BREAD thats not touching the PLATE
With KNIFE extract 3oz of JELLY from JAR_OF_JELLY
With KNIFE spread the 3oz of JELLY upon the SLICED_BREAD thats not touching the TABLE
Discard Knife from RIGHTHAND upon the table.
Pick up jellied SLICED_BREAD and place it upon the peanutbuttered SLICED_BREAD in such a way that the sides of the SLIDED_BREADs are parallel AND the JELLY and PEANUTBUTTER touch.
Beg AVI to draw you a mouth.
Eat sandwich.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment