Bots and Simulations > EcoSim Bots

A. Boticus (Eco)(Endy)-12.09.05

(1/1)

Endy:
' 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

Navigation

[0] Message Index

Go to full version