Bots and Simulations > Evolution and Internet Sharing Sims
dule evo sim
Shadowgod2:
so i made an alga that could survive animal minimal in a thin fluid environment with a decent sim size of 9 so i could run it with a good relative speed (5 cycles/sec) instead of the .1 - 1 a few days ago... day one the alga had around 10 mutations and animal had about half that. looking at the graphs i had going (pop and avg mut) the alga was shooting up in mutations where animal had flat lined :glare: alga had finaly stalled in mutations at around 15 and animal was still stuck at .. 5 mutations. the pop was at about 500-600 for alga and animal still struggles to stay at around 100. if there was ever a time good mutations to happen it would be now but lack of pop is making that very difficult for the animal. here are the before and after bots.
alga before:
--- Code: ---cond
*971 0 =
*.nrg 100 >
*.daytime 1 =
start
10 .mkchlr store
stop
cond
*.nrg 20000 >
start
50 .repro store
stop
cond
*.pain 10 >
*971 0 =
start
50 971 store
10 .repro store
314 rnd .aimsx store
stop
cond
*971 0 >
start
*.body 5 sub .fdbody store
10 .dn store
971 dec
stop
cond
*.robage 100 <
start
*.chlr .rmchlr store
stop
--- End code ---
alga current:
--- Code: --- cond
*971 0 =
*.nrg 100 >
*.tieang2 *.mkvirus =
start
10 .mkchlr store
stop
'''''''''''''''''''''''' Gene: 1 Ends at position 15 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 2 Begins at position 16 '''''''''''''''''''''''
cond
*.nrg 20000 >
*.refaim 50 .repro dec
stop
'''''''''''''''''''''''' Gene: 2 Ends at position 24 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 3 Begins at position 25 '''''''''''''''''''''''
cond
*.robage 100 <
store
stop
'''''''''''''''''''''''' Gene: 3 Ends at position 30 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 4 Begins at position 31 '''''''''''''''''''''''
cond
*.pain 10 >
*.trefsx *.tin1 *.in1 start
50 971 store
10 .repro store
314 rnd .aimleft store
stop
'''''''''''''''''''''''' Gene: 4 Ends at position 49 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 5 Begins at position 50 '''''''''''''''''''''''
cond
*971 0 >
start
*.body store
*.eye5dir *.eye5 .fdbody store
*.eye6 .dn store
971 dec
*.chlr .rmchlr store
stop
'''''''''''''''''''''''' Gene: 5 Ends at position 69 '''''''''''''''''''''''
--- End code ---
animal before:
--- Code: ---'Animal_Minimalis
'By: Nums
'Good for mutation sims and for
'newbies to see how a basic bot works.
'Contains everything necessary for it
'to survive and reproduce.
' Gene 1 Food Finder
cond
*.eye5 0 >
*.refeye *.myeye !=
start
*.refveldx .dx store
*.refvelup 30 add .up store
stop
' Gene 2 Eat Food
cond
*.eye5 50 >
*.refeye *.myeye !=
start
-1 .shoot store
*.refvelup .up store
stop
' Gene 3 Avoiding Family
cond
*.eye5 0 =
*.refeye *.myeye = or
start
314 rnd .aimdx store
stop
' Gene 4 Reproduce
cond
*.nrg 20000 >
start
10 .repro store
stop
end
--- End code ---
animal after:
--- Code: --- cond
*.eye5 0 *.rmchlr *.refnrg *.myeye !=
start
*.refveldx .dx store
*.refvelup 30 add .up store
stop
'''''''''''''''''''''''' Gene: 1 Ends at position 17 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 2 Begins at position 18 '''''''''''''''''''''''
cond
*.eye5 50 >
*.bodgain *.myeye !=
start
-1 .shoot store
*748 .up store
stop
'''''''''''''''''''''''' Gene: 2 Ends at position 32 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 3 Begins at position 33 '''''''''''''''''''''''
cond
*.eye5 0 =
store
*.myeye =
or
start
*.timer rnd .aimright store
stop
'''''''''''''''''''''''' Gene: 3 Ends at position 46 '''''''''''''''''''''''
'''''''''''''''''''''''' Gene: 4 Begins at position 47 '''''''''''''''''''''''
cond
*.nrg 20000 >
start
10 .repro store
stop
'''''''''''''''''''''''' Gene: 4 Ends at position 55 '''''''''''''''''''''''
--- End code ---
all in all not what i expected but hay that's evolution for ya :D
Botsareus:
I actually did not think fluid density was working. Looking at the vb code you may actually get away with the same effects by adding friction and z-gravity. Not something on my port list anyway.
Looking at your results, I do not really see any new novel behaviors other than the simplified animal. Still cool because in a free style sim I expect Muller's Ratchet to increase - not decrease.
:)
Shadowgod2:
yea especially in such a short amount of time too. it's still going and animal has went to 7 mutations and alga has 16. very slow evo here. i'm thinking on trying to make a 5+ species sim but the 3 that i made before was very unstable and often failed with just a few mutations. definitely going to have to figure how to make more stable bots then.
Numsgil:
Looks like animal min. just evolved to break its conspec avoidance code. That is, it learned to eat each other. Which always seems to be the first thing it does, for better or worse. That's probably also why it's having a hard time maintaining a high population: it's self limiting because as it gets too crowded they just eat each other.
You might want to try starting with a bot that already is cannibalistic, and see where it goes from there.
Shadowgod2:
hang on why does it seem like mutations really start to go up only when my internet is on? i restarted the program and watched a movie and during that time animal gains 3 new mutations last night before i went to sleep and nothing after i turned my internet off. this morning internet on and algas start to go up. is this just coincidence or is there something here that im not seeing?
Navigation
[0] Message Index
[#] Next page
Go to full version