Bots and Simulations > Multi-Bots

TriangleMB(By Spike43884)(F1)12-1-2014

(1/2) > >>

spike43884:
Lost to fruitflies, otherwise reasonably strong.


--- Code: ---'By spike43884
'Reasonably powerful, but cannot destroy fruitflies
'Also good at energy consumption...
'Don't believe the virus is being triggered, not sure why


def antivirus 976


'Gene 0 Anti-Virus
cond
*.robage 0 =
start
2000 .antivirus store
stop


'Gene 1 Virus Creation
cond
 *.vtimer = 0
 2000 *.antivirus !=
start
 *.thisgene .mkvirus store
 *.tiepres .deltie store
 0 .shoot store
 0 .repro store
stop

cond
 *.vtimer = 0
 2000 *.antivirus =
start
 2 .mkvirus store
stop


' Gene 2 Food Finder
cond
 *.eye4 2 >
 *.eye5 0 >
 *.eye6 2 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop


' Gene 3 Eat Food
cond
 *.eye5 50 >
 *.refeye *.myeye !=
start
-1 .shoot store
-6 .shoot store
60 .vshoot store
 *.refvelup .up store
stop


' Gene 4 Avoiding Family
cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
stop


'Gene 5 Recombine
cond
 *.robage 0 =
start
 .tie inc
stop


'Gene 6 Tie Angles
cond
 *.robage 20 =
start
 418 *.numties mult .fixang store
stop


' Gene 7 Reproduce
cond
 *.nrg 10000 >
start
 50 .repro store
stop



'Gene 8 Brain
cond
 *.multi 1 =
start
 49 .sharenrg store
 15 .fixlen store
 75 .stifftie store
stop


end

--- End code ---

Botsareus:
You finally got it down to a science.

spike43884:

--- Quote from: Botsareus on December 01, 2014, 04:18:33 PM ---You finally got it down to a science.

--- End quote ---
Oh I got it down to design, not a science :P

BTW, can you explain why it's not doing the rigid beehive type structure??? I want to make a bot have a strong structure because then I can move onto my next design, when it'll batterybot veggies and will form a ring around them.

Botsareus:
A type of bot PY would have developed... Moved it to MB because it says it is. MB robots automatically qualify for F1 league.

spike43884:

--- Quote from: Botsareus on June 08, 2015, 03:57:02 PM ---A type of bot PY would have developed... Moved it to MB because it says it is. MB robots automatically qualify for F1 league.

--- End quote ---
I'll take that as a compliment, even though I've never truely met PY.

Heh, I do love my antivirus though.

Navigation

[0] Message Index

[#] Next page

Go to full version