Darwinbots Forum
Bots and Simulations => Bestiary => Untagged bots => Topic started by: happyhamsterchan on May 16, 2010, 08:28:01 AM
-
This one is based off of E. Comesum, though I found that the avoidance gene isn't that good, so I removed it, oh well... It's probably real fragile anyway...
So, its main method to counteract cannibalism is to send its offspring off as "spores" to go to distant places. It's workin, so far. Its meant for evosims. Here's the code:
-
ran for 100 kCycles w/o mutations, size 1 sim, 50 veggies, it survived well with a pop of ~100. Then ran for 100 kCycles with 1/32 mutation rate, still holding at ~100 population. Will continue sim till something interesting happens...
-
300 kCycles, dominant strain has 4 mutations, still demonstrates spore-formin behaviour
EDIT:
Their behavior seems to have changed, now they dont stay at a single veggy for very long, quickly turn away and go to another one, perhaps to avoid the crowds that surround the veggies
also babies dont shoot off any more, they just hang onto the parent a long distance away, perhaps to wait for the parent to find food while it hitches a ride?
-
600 kCycles, population has increased to 200, avg of 12 mutations per bot
-
when It's finished running will you post the mutated code?
-
Here's the code so far:
'''''''''''''''''''''''' Gene: 1 Begins at position 1 '''''''''''''''''''''''
cond
*.robage 100 *.eye5 0 0 dupbool
start
* ~ inc
stop
'''''''''''''''''''''''' Gene: 1 Ends at position 12 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 2 Begins at position 13 '''''''''''''''''''''''
cond
*.eye5 0 >
start
-1 .shoot store
*.refveldx .dx store
*587 100 add .up inc
stop
'''''''''''''''''''''''' Gene: 2 Ends at position 29 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 3 Begins at position 30 '''''''''''''''''''''''
cond
*.eye5 0 =
*.robage 100 >
and
start
314 rnd .aimright store
stop
'''''''''''''''''''''''' Gene: 3 Ends at position 43 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 4 Begins at position 44 '''''''''''''''''''''''
cond
<
*.eye5 0 !=
store
100 .dx store
stop
'''''''''''''''''''''''' Gene: 4 Ends at position 53 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 5 Begins at position 54 '''''''''''''''''''''''
cond
*.nrg 10000 >
start
10 .repro inc
stop
'''''''''''''''''''''''' Gene: 5 Ends at position 62 '''''''''''''''''''''''
9 mutations, 6.8 kCycles, 300 bots
-
12 mutations, 700 kCycles
'''''''''''''''''''''''' Gene: 1 Begins at position 1 '''''''''''''''''''''''
cond
*.dx 100 <
*.eye5 0 0 dupbool
start
* .up inc
stop
'''''''''''''''''''''''' Gene: 1 Ends at position 13 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 2 Begins at position 14 '''''''''''''''''''''''
cond
*.eye5 0 >
start
-1 .shoot store
*.refveldx .dx store
*587 100 add .up inc
stop
'''''''''''''''''''''''' Gene: 2 Ends at position 30 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 3 Begins at position 31 '''''''''''''''''''''''
cond
*.eye5 0 =
*.robage 100 >
and
start
314 rnd .aimright store
stop
'''''''''''''''''''''''' Gene: 3 Ends at position 44 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 4 Begins at position 45 '''''''''''''''''''''''
cond
!=
store
85 .dx store
stop
'''''''''''''''''''''''' Gene: 4 Ends at position 51 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 5 Begins at position 52 '''''''''''''''''''''''
cond
*.nrg 10000 >
start
23 .repro inc
stop
'''''''''''''''''''''''' Gene: 5 Ends at position 60 '''''''''''''''''''''''
-
Moved to untagged due to bad formatting.