Last active
December 10, 2015 03:28
-
-
Save sirpengi/4375072 to your computer and use it in GitHub Desktop.
For GridControl
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
# 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