Author Topic: Evolution tale!  (Read 7706 times)

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Evolution tale!
« on: June 13, 2005, 10:44:08 AM »
I have stated elsewere that I had never seen interesting behavior develop!
THIS IS NOT TRUE ANYMORE!!!!!!!!!!!!!!!!!!!1

I started a sim with the simplebot (without conspec gene) and alga minimalis.

The simplebot did mutate around 200,000 cycles to moving in long worm like lines when very little food was around (see picture)
Why? I am not certain on this one.

The alga did then evolve this one:

Code: [Select]
15 5 rnd storeinstead of
Code: [Select]
15 .aimdx store
This made the alga moving randomly around. This would seem silly, but this actually made an increase in survival, because suddenly it was harder for the bots to catch the random moving vegs, very interesting I think.

The bots counted this, by dropping the worm moving thing, and instead began to move slowlier than before, with some changes in the movement gene and the search pattern genes.

Then I would change a little in the settings, and I did set the cost for acceleration way to high, and all my bots died in a instant!  :(

Now I would like to know if the autosave works or if it is just the normale save function (did not set it, but I would like to know anyway, to lazy to try it out)!

And the autosave of the bestbot! Why is it in a stupid .dbo file you cant read to analyze? What about an option to select which format you what it in?
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolution tale!
« Reply #1 on: June 13, 2005, 10:52:26 AM »
Interesting.

Quote
long worm like lines when very little food was around (see picture)
Why? I am not certain on this one.

How exactly did they move?  Could it be that they were just "running after food"?  If a bot is moving in a more or less straight line when it does not see anything and follows any bot that it sees, that would create these lines.

BTW, saving "best" bot is not the best idea - the bot with most offspring may happen to be just a bot that mutated a reproduction gene.  Saving "snapshot" makes much more sense.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Evolution tale!
« Reply #2 on: June 13, 2005, 10:57:37 AM »
Quote
The alga did then evolve this one:

Code: [Select]
15 5 rnd storeinstead of
Code: [Select]
15 .aimdx store

I've seen this one develop too.  Randomly moving vegs are hard to catch.

Quote
Now I would like to know if the autosave works or if it is just the normale save function (did not set it, but I would like to know anyway, to lazy to try it out)!

Yep, they both use the same routines.

Quote
And the autosave of the bestbot! Why is it in a stupid .dbo file you cant read to analyze? What about an option to select which format you what it in?

The .dbo file lets you save whole organisms, such as multibots, which is something that DNA files can't do.

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Evolution tale!
« Reply #3 on: June 13, 2005, 11:08:47 AM »
Regarding .dbo files:
The file is not normal text! It is binary, which I can not read! :)

And the straight lines:
This maybe true, this would explain alot, but I think it is rather intersting anyway, because it seem that this helped the bots to survive when there were no food!!??

I know it is not the "bestbot", but you know what I'm talking about, right?
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Evolution tale!
« Reply #4 on: June 13, 2005, 11:10:35 AM »
Quote
Regarding .dbo files:
The file is not normal text! It is binary, which I can not read! smile.gif

Is that a suggestion?   ;)

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Evolution tale!
« Reply #5 on: June 13, 2005, 11:13:32 AM »
Both Yyyyyyessss and nooo!!!!  ;) :)
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Evolution tale!
« Reply #6 on: June 13, 2005, 01:17:50 PM »
Solution: write an extention file reader for .dbo files !?
a new little program maybe!?
« Last Edit: June 13, 2005, 01:18:09 PM by Botsareus »

Offline Old Henk

  • Bot Destroyer
  • ***
  • Posts: 229
    • View Profile
Evolution tale!
« Reply #7 on: June 14, 2005, 07:07:32 AM »
Quote
BTW, saving "best" bot is not the best idea - the bot with most offspring may happen to be just a bot that mutated a reproduction gene.
How about adding this to the DNA scripts instead of the 'save-the-bot-with-the-most-descendants' command?

IF
bot X has
  • more then N offspring
  • has more then N energy
  • value N stored in Memorycell P
  • etc...
THEN
...

 :outahere:

Henk
« Last Edit: June 14, 2005, 07:08:11 AM by Henk »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Evolution tale!
« Reply #8 on: June 14, 2005, 07:12:30 AM »
All this good stuff for the scripts to handle.  If done right they can allow alot of mixing and matching of useful bits to let you control the simulation how you want to.
« Last Edit: June 14, 2005, 07:12:47 AM by Numsgil »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Evolution tale!
« Reply #9 on: June 14, 2005, 12:55:23 PM »
Yea don't worry about me Henk , I have the backups of that source code when I need it... :help:



On the other hand adding scripts is a good idea. But I need the form1.fittest to still work. Maybe you can run the scripts thorogh that little function? That also means that the scripts must load with the settings file.
« Last Edit: June 14, 2005, 12:57:57 PM by Botsareus »

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Evolution tale!
« Reply #10 on: June 17, 2005, 04:08:35 AM »
It possible to just add an autosave best bot feature for SB's which saves the dna as a txt file instead?

That darned rnd, seems like one of the most useful things the bots evolve. Strangest thing :)

Endy B)
« Last Edit: June 17, 2005, 04:11:02 AM by Endy »

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Evolution tale!
« Reply #11 on: June 17, 2005, 06:25:35 AM »
Actually it is not strange, becuase it leads to unpredictable behavior, which turns out to be very difficult for the normale bots to predict ;)
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Evolution tale!
« Reply #12 on: June 17, 2005, 10:31:12 AM »
Here is what I am doing, After 5000 cycles my virsion of DB program is set up to call on save best bot , witch is the form1.fittest function , after that the program restarts and evolves some new bots from the best bot then does the same test again.

Therefor you guys can add what ever you want but keep my find best button there please. Its very importent for selective breathers like me.
« Last Edit: June 17, 2005, 10:32:26 AM by Botsareus »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Evolution tale!
« Reply #13 on: June 17, 2005, 10:46:07 AM »
How about we give your "find best bot" routine a few more options too?
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Evolution tale!
« Reply #14 on: June 17, 2005, 10:59:41 AM »
"Find best" doesn't actually find the best bot.  As shvarz pointed out, it could capture a cancerous bot.

A better option would be to allow customization of what the "best bot" is in some kind of formula the user can set.

Like .kill + .body/10 + .nrg / 100 or something like that.