Difference between revisions of "Humilis"

From WikiManual
Jump to: navigation, search
(Modified source to work using the new "use NewMove" operator (which is preferable for new bots))
Line 1: Line 1:
 +
use NewMove
 +
 
  'Humilis
 
  'Humilis
 
  cond
 
  cond
Line 33: Line 35:
 
  *.vel 20 <
 
  *.vel 20 <
 
  start
 
  start
  20 *.vel sub 2 div .up store
+
  20 *.vel sub
 +
2 div
 +
*.body mult 1000 div
 +
.up store
 
  stop
 
  stop
 
  end
 
  end

Revision as of 22:29, 30 October 2005

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