Bots and Simulations > Evolution and Internet Sharing Sims
Shvartz, can you help me out?
shvarz:
It used to be around 280, now I brought it down to 210. I don't like to introduce changes rapidly as it often leads to crash in population.
Another thing that I noticed is that bots tend to all align with each other and run parallel to each other. This way they avoid bumping into each other. If one of them mutates and starts running in circles, then it is bound to run into other bots and gets killed quickly - another disdvantage of having fast-moving bots in small-size screen.
Botsareus:
thx Shvartz, It all make sense now.
look here what I got:
I tryed my method again with purely F1 contest rules... Its slooowww but:
--- Quote ---cond
*.nrg
30000
>
start
add
50
.repro
store
stop
cond
start
-1
7
stop
cond
start
store
20
rnd
.up
store
stop
end
'5,297,281,285,293,310,253,312,303,289,296,313,309,339,271
--- End quote ---
Numsgil:
--- Quote ---It used to be around 280, now I brought it down to 210. I don't like to introduce changes rapidly as it often leads to crash in population.
Another thing that I noticed is that bots tend to all align with each other and run parallel to each other. This way they avoid bumping into each other. If one of them mutates and starts running in circles, then it is bound to run into other bots and gets killed quickly - another disdvantage of having fast-moving bots in small-size screen.
--- End quote ---
Try introducing Zero Momentum to the sim. That should teach them :P
shvarz:
Zero momentum is too much. I'll wait till you release that new shiny version where "zero momentum=100% friction". Meanwhile I just increased the size of the sim to 6 and reduced veggies to 180. Seems to help - I see some bots are moving very slowly now. Here is an example:
--- Quote ---cond
*.nrg 20536 >
*.nrg 20014 !%=
start
*.hitsx *.tielen3 inc
inc
*.daytime inc
inc
50 300 369 380
stop
'''''''''Gene 2: Last 'stop' at position 21'''''''''
cond
*.nrg 20536 >
*.nrg 20536 !%=
start
*.tielen3 inc
inc
*.daytime inc
inc
50 300 369 380
stop
'''''''''Gene 3: Last 'stop' at position 41'''''''''
cond
*.nrg 20536 >
*.nrg 20536 !%=
*.nrg 19616 !%=
start
inc
51 300
stop
'''''''''Gene 4: Last 'stop' at position 57'''''''''
cond
*.out2 *490 !%=
cond
store
stop
'''''''''Gene 5: Last 'stop' at position 68'''''''''
cond
*.shareslime *180 !%=
start
1168 *.refvelsx store
*652 *.rdboy -12 rnd *553 -12 rnd sub rnd sub sub rnd *790 *387 *.rdboy rnd *387 *.rdboy rnd *.sharenrg sub *735 *916 *.mydn rnd *.shootval *.shdx mult *735 *372 *768 rnd inc
446 -130 dec
rnd *735 rnd -215 sub *.daytime dec
*615 -1 div -1292 *.pwaste inc
inc
*.pwaste inc
inc
*307 div 460 -565 644 .tieang3 store
*273 dec
-1179 dec
store
*948 218 -1203 inc
841 11 dec
841 -549 11 inc
*868 *.trefvelmydx -434 1 div div inc
9 1 354 store
10 add *.fdbody 1 *676 store
11 .up store
inc
1278 inc
1342
stop
'''''''''Gene 6: Last 'stop' at position 186'''''''''
cond
*.shareslime *.eye8 !%=
start
1168 *.refvelsx store
*652 *553 -12 dec
*.sx sub 401 rnd mult rnd sub 962 *.hitup *735 *.shdx dec
*735 *107 -1195 *772 *.trefypos div *772 *.trefypos div dec
rnd *735 rnd inc
*735 rnd inc
*735 rnd 669 inc
*735 rnd sub inc
*.daytime dec
1 store
div -1460 -1292 *.pwaste inc
inc
395 -909 add *307 div add *.eye1 div 460 -565 460 dec
-565 dec
store
store
*.tie 218 -1203 inc
10 *868 *381 inc
div *.trefvelmydn 1 div *.trefvelmydn 1 div 9 -8 1 -354 store
10 add 1 *676 store
11 .up store
store
1278 inc
1342
stop
'''''''''Gene 7: Last 'stop' at position 301'''''''''
cond
start
*.tieang2 *591 inc
*.trefypos *591 inc
sub -382 *816 -331 401 -376 -792 inc
-1163 -178 div -1 7 rnd
stop
'''''''''Gene 8: Last 'stop' at position 324'''''''''
cond
start
-1 7 -403 -1 7
stop
'''''''''Gene 9: Last 'stop' at position 334'''''''''
cond
start
store
sub 10 add sub 10 dec
add *650 *969 store
*650 *969 store
dec
div sub mult dec
sub sub store
dec
sub inc
dec
sub store
dec
sub store
dec
inc
div dec
inc
add dec
inc
add dec
div add 1 sub
stop
'''''''''Gene 10: Last 'stop' at position 383'''''''''
end
--- End quote ---
Genes 4-10 are active. What's all that duplication in gene 10 about? wtf? clearing out stack? Also look at gene 4 - it has 2 conditions and no start - but it still works. Weird. And how did it get this way?
Btw, the overall mutation says this bot got only 1 mutation - shows you how seriously messed up that routine is.
Shen:
Curious, I nearly always get the same condition change that you get on repro genes. Changing > to !%= gives an automatic boost of several thousand energy, though presumably requires two seperate mutations, a duplicate and a straight up change > to !%=. Why that would be more benificial I dunno.
Oh yeah and the mutations are in seriously need of an overhaul. I get crashes if I open the mutation graphs. Bots always reports 0 mutations. The bot info panel reports mutations that havnt occured, mutations that are different from actual changes or mutations that make no sense (I get inserted instruction ,,, a lot). Gene syntax gets changed which is obviously bad. The mutation toggle button seems to turn on and off randomly. And the strangest of all, my sims seem to stop mutating after a while, dunno why or even if its just luck, but ive run sims for millions of cycles and ended up with the exact same bot, could be me, anyone else noticed this?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version