Humilis

From WikiManual
Revision as of 23:29, 30 October 2005 by 216.249.144.14 (talk) (Modified source to work using the new "use NewMove" operator (which is preferable for new bots))
Jump to: navigation, search
use NewMove
'Humilis
cond
*.robage 20 mod 0 =
'Finally figured out how to use mod handily :)
start
7 rnd 50 store
stop

cond
'Gene should allow bot to test amongst 8 different refs randomly
.refup *50 add * .myup *50 add * !=
*.eye5 37 >
start
.shoot dec
stop

cond
*.nrg 5000 >
start
50 .repro store
stop

cond
*.eye5 0 >
*.refeye *.myeye = and
*.eye5 0 = or
start
314 rnd .aimdx store
stop

cond
*.eye5 0 >
*.vel 20 <
start
20 *.vel sub
2 div
*.body mult 1000 div
.up store
stop
end