Darwinbots Forum

Bots and Simulations => Bestiary => Short bots => Topic started by: Numsgil on March 10, 2005, 05:27:57 PM

Title: Animal Minimalis (4G)(Numsgil)-10.03.05
Post by: Numsgil on March 10, 2005, 05:27:57 PM
Code: [Select]
'Good for mutation sims and for newbies to see how a basic bot works.
'Contains everything necessary for it to survive and reproduce.

cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup 30 add .up store
stop

cond
*.eye5 50 >
*.refeye *.myeye !=
start
-1 .shoot store
*.refvelup .up store
stop

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

cond
*.nrg 20000 >
start
10 .repro store
stop
end