Created
September 24, 2013 03:35
-
-
Save TrevMcKendrick/6680058 to your computer and use it in GitHub Desktop.
Alien PB&J
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def remove_bread(slices) | |
Place alien hand in bag | |
Grab slices | |
Remove alien hand from bag with slices in hand | |
Place_slices(prepare) | |
end | |
def place_slices(stage_of_meal) | |
if stage_of_meal == prepare | |
slices should be centered, next to each other. NOT on top of each other | |
else | |
slices should be together. Each of the 4 corners of one piece of bread should touch the 4 corners of the other piece of bread. The sides that touch should be the sides with the peanut butter and jelly, respectively | |
end | |
define bread | |
White, soft, squishy material | |
end | |
def spread(item) | |
Place knife in jar of time | |
Remove 1/4 knife's worth of item | |
Spread item on one of the two largest sides of one piece of bread. If one piece of bread has another item, do not spread current item on that piece of bread | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment