Darwinbots Forum

Welcome To Darwinbots => Newbie => Topic started by: Zelos on March 01, 2005, 11:20:20 AM

Title: Simple bot
Post by: Zelos on March 01, 2005, 11:20:20 AM
' if you're new and want to make a bot, use this one.

cond
*.eye5 30 >
*.refeye *.myeye !=
start
-1 .shoot store
stop

cond
*.eye5 29 <
*.vel 20 <
start
5 .up store
stop

cond
*.eye5 0 !=
*.refeye *.myeye =
start
1860 rnd .aimdx store
stop

cond
*.eye3 *.eye7 !=
*.eye1 *.eye9 != or
*.eye5 35 <
*.refeye *.myeye !=
start
*.eye3 *eye1 add *.eye7 *.eye9 add sub 2 mult .aimsx store
stop

cond
*.nrg 10000 >=
start
60 .repro store
stop
end

Moved to Newbie Forum. Henk