Darwinbots Forum

Bots and Simulations => Bestiary => Short bots => Topic started by: Jez on December 04, 2006, 09:14:25 AM

Title: Broekhuizen (6G)(Henk)-04.03.04
Post by: Jez on December 04, 2006, 09:14:25 AM
Code: [Select]
'Topic: Short-bots thread 
'Henk

' Broekhuizen.
' bot for 6 gene bot challenge.

' All kinds of things, without specific conditions
cond
*.numties 0 =
start
35 *.vel sub .up store
*.eye9 *.eye1 sub 4 mult .aimdx store
*.eye6 *.eye4 sub .aimdx store
*.shup .dn store
stop

' identify and engage tie to parent
cond
*.robage 0 =
start
314 .out1 store
1 .tie store
stop

' Delete tie to parent
cond
*.robage 1 =
start
1 .deltie store
stop

' Reproduction
cond
*.nrg 6000 >
start
50 .repro store
628 .aimsx store
stop

' Make slime. To protect against big evil bots
cond
*.waste 60 %=
*.shell 10 <
start
50 .mkshell store
stop

' kill bots
cond
*.eye5 0 >
start
-1 .shoot store
*.in1 .aimdx store
stop
end