Bots and Simulations > Short bots

Animal Minimalis (4G)(Numsgil)-10.03.05

(1/1)

Numsgil:

--- Code: ---'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
--- End code ---

Navigation

[0] Message Index

Go to full version