Skip to content

Instantly share code, notes, and snippets.

@sirpengi
Last active December 10, 2015 03:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sirpengi/4375072 to your computer and use it in GitHub Desktop.
Save sirpengi/4375072 to your computer and use it in GitHub Desktop.
For GridControl
# This bot will continually travel south
# pulling from the east or west if it
# finds resources there
@LOOPSTART
CALLFF << @SCAN 1 0 3
testtgoto << @PULLEAST
FFI << @LOOK @WEST
testtgoto << @PULLWEST
FFI << @MOVE @SOUTH
POP
goto << @LOOPEND
@PULLEAST
FFI << @PULL @EAST
POP
goto << @LOOPEND
@PULLWEST
FFI << @PULL @WEST
POP
goto << @LOOPEND
@LOOPEND
goto << @LOOPSTART
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment