Created
April 15, 2012 15:35
-
-
Save koo5/2393463 to your computer and use it in GitHub Desktop.
bored dance
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
"dance of boredom" by kook | |
"sitting somewhere between pseudocode and real inform7, making inform seem much more likeable than it is, unplugged from the world, this node stares cross-eyed into space" | |
world is a room. | |
the table of dance | |
text | |
step | |
"turn left" | |
"turn right" | |
"blink a light" | |
include dynamic objects | |
a robot is a kind of container | |
a robot can be bored. | |
understand hello: | |
clone new robot | |
being bored is an action applying to one robot. | |
understand "i'm bored" as being bored. | |
carry out being bored: | |
do a step. | |
every minute: | |
do a step. | |
to do a step: | |
select row dance_step from the table of dance | |
increment dance_step | |
running thru every bored robot: | |
say step | |
understand "new step' as adding a new step | |
adding a new step is an action applying to one indexed text | |
carry out adding a new step: | |
select a blank column in the table of dance | |
let step be the text understood |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment