Difference between revisions of "Humilis"

From WikiManual
Jump to: navigation, search
(Working on Humilis)
Line 1: Line 1:
 +
'Humilis
 +
cond
 +
*.robage 20 mod 0 =
 +
'Finally figured out how to use mod handily :)
 +
start
 +
7 rnd 50 store
 +
stop
 +
 
  cond
 
  cond
 
  'Gene should allow bot to test amongst 8 different refs randomly
 
  'Gene should allow bot to test amongst 8 different refs randomly
  .refup 7 rnd add * .myup 7 rnd add * !=
+
  .refup *50 add * .myup *50 add * !=
 
  *.eye5 37 >
 
  *.eye5 37 >
 
  start
 
  start
  -1 .shoot store
+
  .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 .up store
 
  stop
 
  stop
 +
end

Revision as of 21:59, 30 October 2005

'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 .up store
stop
end