Darwinbots Forum

Bots and Simulations => Bestiary => Mutations => Topic started by: PurpleYouko on May 19, 2005, 05:14:03 PM

Title: Simple Start Bot
Post by: PurpleYouko on May 19, 2005, 05:14:03 PM
'Simplebot2 starter
'Gene1. Simple search pattern.
cond
  *.eye3 *.eye5 >
start
  -25 .aimdx store
stop

' Gene2. Simple search pattern part 2
cond
  *.eye7 *.eye5 >
start
  25 .aimdx store
stop

' Gene 3 Don't orbit
cond
*.veldx 0 !=
start
*.veldx 2 div .sx store
stop

' Gene 4. Move forward
cond
*.vel 20 <
start
  5 .up store
stop

' Gene 5. Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 6. Reproduce
cond
  *.nrg 5000 >
start
  50 .repro store
stop

' Gene 7 Avoid conspecs
cond
*.eye5 !=
*.myeye *.refeye =
start
120 .aimdx store
stop

end