Skip to content

Instantly share code, notes, and snippets.

@earthling-shruti
Created January 13, 2013 06:44
Show Gist options
  • Save earthling-shruti/4522715 to your computer and use it in GitHub Desktop.
Save earthling-shruti/4522715 to your computer and use it in GitHub Desktop.
@LOOPSTART
CALLFF << @LOOK @EAST 2
IFTGOTO << @PULLEAST
CALLFF << @LOOK @WEST 2
IFTGOTO << @PULLWEST
CALLFF << @MOVE @SOUTH 2
GOTO << @LOOPEND
@PULLEAST
CALLFF << @PULL @EAST 2
GOTO << @LOOPEND
@PULLWEST
CALLFF << @PULL @WEST 2
GOTO << @LOOPEND
@LOOPEND
GOTO << @LOOPSTART
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment