Darwinbots Forum

Bots and Simulations => Bestiary => Multi-Bots => Topic started by: spike43884 on December 01, 2014, 01:44:53 PM

Title: TriangleMB(By Spike43884)(F1)12-1-2014
Post by: spike43884 on December 01, 2014, 01:44:53 PM
Lost to fruitflies, otherwise reasonably strong.

Code: [Select]
'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
Title: Re: TriangleMB(By Spike43884)(F1 League)
Post by: Botsareus on December 01, 2014, 04:18:33 PM
You finally got it down to a science.
Title: Re: TriangleMB(By Spike43884)(F1 League)
Post by: spike43884 on December 02, 2014, 12:28:30 PM
You finally got it down to a science.
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.
Title: Re: TriangleMB(By Spike43884)(F1)01-12-2014
Post by: 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.
Title: Re: TriangleMB(By Spike43884)(F1)01-12-2014
Post by: spike43884 on June 09, 2015, 12:54:59 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.
I'll take that as a compliment, even though I've never truely met PY.

Heh, I do love my antivirus though.
Title: Re: TriangleMB(By Spike43884)(F1)12-1-2014
Post by: Botsareus on June 20, 2015, 01:23:59 PM
There is a known bug in the def vars where you need to add a @ or another random character for def vars to work. It is resonanly high on my fix list. Also the red, green, blue defs are showing extra space to the top of the DNA file, that also needs to be looked at.
Title: Re: TriangleMB(By Spike43884)(F1)12-1-2014
Post by: spike43884 on June 20, 2015, 03:46:48 PM
There is a known bug in the def vars where you need to add a @ or another random character for def vars to work. It is resonanly high on my fix list. Also the red, green, blue defs are showing extra space to the top of the DNA file, that also needs to be looked at.
Hey bot. I could really do with a piece of code. I need to make a bot which forms into geometric shapes, the amount of bots (or points) that geometric shape has is a freevariable then. Its to many math equations for me to do, but do you think you might be able to do it. It needs to be reasonably rigid, and force the ties to tie with a relatively unused ID for ties.
Title: Re: TriangleMB(By Spike43884)(F1)12-1-2014
Post by: Botsareus on September 09, 2015, 01:57:29 PM
Most likely going to leave def as is. Normally it works fine. I just can not afford to spend much time on minor bugs that the problem is not clear right away as I now have a dead line to get into a uni. Do not know what will happen to IM either. Maybe bump Peter when he returns to play with DB3 or do my own write up as a uni project. Maybe I will even attempt a full rewrite of DB if I am forced to do so.