Darwinbots Forum

Bots and Simulations => Bestiary => EcoSim Bots => Topic started by: Endy on September 11, 2005, 11:56:03 PM

Title: A. Boticus (Eco)(Endy)-12.09.05
Post by: Endy on September 11, 2005, 11:56:03 PM
' A. Boticus
' Designed to work with Veggie
cond
start
.fixpos *.fixed mult dec
51 *51 sgn mult dec
51 *51 sgn -1 mult mult inc
stop

cond
*.refeye *.myeye !=
*.eye5 37 >
start
*.in1 .shoot store
.fixpos inc
stop

cond
*.eye5 0 !=
*.vel 20 <
*.refeye *.myeye !=
start
20 *.vel sub 2 div .up store
stop


cond
*.refeye *.myeye =
*.eye5 0 = or
*51 20 !=
start
314 rnd .aimdx store
51 inc
51 inc
stop

cond
*51 20 =
start
10 *.vel sub 2 div .up store
stop

cond
*.nrg 5000 >
start
50 .repro store
stop

end