Darwinbots Forum

Bots and Simulations => Bestiary => F1 bots => Topic started by: spike43884 on January 25, 2015, 08:15:30 AM

Title: Pow Pow [F1] [Spike43884]2-9-2015
Post by: spike43884 on January 25, 2015, 08:15:30 AM
An unusual bot I developed.
There is so much to do with reproduction in DB


Code: [Select]
'Pow Pow
'By Spike43884
'Im obsessed with reproduction in
'bots, so decided to turn babies
'into a weapon of mass destruction.
'Hopefully this will be as big of
'a success as my beloved series of
'russian babies. Reproduction is
'fun.
'
'Developer Notes:
'This bot uses 'alternating gene activations' when the conditions are met
'such as in the bots attack genes for the body, which fire the first one
'when an enemy is seen, then fires the second, then the first and so on.
'This is incredibly effective for stopping adaptions of the enemy, such
'as the system encorporated to fruit flies, it also allows for more actions
'to happen without to much energy cost


def head 50
def tval 51
def tlen 52
def shootstage 53


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


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


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


'Gene Reproduce
cond
*.nrg 15000 >
*.numties 3 !=
*.head 1 =
start
10 .repro store
1 .tie store
stop


'Gene Head identification
cond
*.numties 0 =
*.robage 0 =
start
1 .head store
stop


'Gene Head fixing
cond
*.numties 0 !=
*.head 1 =
start
1 .fixpos store
stop


'Gene Tie angles
cond
*.head 1 =
*.numties 0 !=
start
 418 .tieang1 store
 837 .tieang2 store
1256 .tieang3 store
'------------------------------NON HEAD STUFF NOW------------------------------'


'Gene Tie lengthen
cond
*.refeye *.myeye =
*.tielen 1000 <
*.head 0 =
start
*.tielen .tlen store
*.tlen 2 add .tielen store
stop


'Gene Tie shorten
cond
*.refeye *.myeye =
*.tielen 5 >
*.head 0 =
start
*.tielen .tlen store
*.tlen 2 sub .tielen store
stop


'Gene Tie lengthen 2
cond
*.eye5 0 =
*.tielen 1000 <
*.head 0 =
start
*.tielen .tlen store
*.tlen 2 add .tielen store
stop


'Gene Tie shorten 2
cond
*.eye5 0 =
*.tielen 5 >
*.head 0 =
start
*.tielen .tlen store
*.tlen 2 sub .tielen store
stop


'Gene attack
cond
*.eye5 0 >
*.refeye *.myeye !=
0 .shootstage =
0 .head =
start
4 .shootval store
-1 .shoot store
-6 .shoot store
1 .shootstage store
stop


'Gene attack 2
cond
*.eye5 0 >
*.refeye *.myeye !=
1 .shootstage =
0 .head =
start
628 .shootval store
5 .shoot store
0 .shootstage store
stop


'------------------------------NON HEAD STUFF NOW------------------------------'


'Gene Head NRG sharing
cond
*.head 1 =
*.numties 0 !=
start
40 .sharenrg store
stop


'Gene Body NRG sharing
cond
*.head 0 =
*.numties 0 !=
start
50 .sharenrg store
stop


end
Title: Re: Pow Pow [F1] [Spike43884]
Post by: spike43884 on February 07, 2015, 02:58:29 PM
Its a horrible ineffective bot now at later tests...Still, you can enter it...Also the starting gate is now bigger than the F1 entries
Title: Re: Pow Pow [F1] [Spike43884]
Post by: spork22 on February 07, 2015, 03:19:52 PM
I believe this is because Botsareus isn't on often to move the bots in the starting gate to their respective locations.
Title: Re: Pow Pow [F1] [Spike43884]
Post by: Shadowgod2 on February 07, 2015, 07:01:09 PM
he hasn't on since december
Title: Re: Pow Pow [F1] [Spike43884]
Post by: spike43884 on February 08, 2015, 07:38:06 AM
he hasn't on since december

But then again, he did submit his zerobot when about 6 were waiting in starting gate, to the starting gate and didn't move it.
He had before said something about when his goal is complete he'll be leaving as his work is done...
Im honestly not to sure what he was on about, he always seemed as if he tried to be philosophical, but ended up half the time making confusing conversations from deleting some posts.
If he is gone for good, we need a new leagues runner. Maybe thats why he was trying to recruit you shadow?
Title: Re: Pow Pow [F1] [Spike43884]
Post by: spork22 on February 08, 2015, 06:39:36 PM
Interesting.
Title: Re: Pow Pow [F1] [Spike43884]
Post by: spike43884 on February 09, 2015, 11:19:17 AM
Interesting.
Indeed.