Author Topic: Simplest Evo Starter Bot  (Read 18336 times)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7718
    • View Profile
Simplest Evo Starter Bot
« Reply #135 on: May 06, 2006, 08:34:09 PM »
It's probably a virus or virally related now that I look at the code for the simple reason that the repeated elements seem to form a gene.

start
angle rnd and
pyth inc
mod stop

This gene also seems to me (through the rnd operator) to randomly increment different memory locations, one of which could be the sysvars to make and fire viruses.

Note that it's the first gene at the start of the genome, so inc will manage to place it in a virus.

The more I look at it, the more I think you have something genuinely interesting going on, something unrelated to the program itself.  Although it might soon become problematic as the DNA grows larger than your available RAM

This seems to me to be a runaway virus endlessly replicating itself and also being (somewhat) benefitial to the idiot bots it's infecting.  At least benefitial enough that it doesn't kill the bot.

A true example of the "selfish gene" at work.

It is, however, alarming that the DNA deparser couldn't seem to break the code into genes properly for display ("''''''''''''''''''''''''Gene 0: Last 'stop' at position..., Gene 0?  And not all stops are given gene counts)
« Last Edit: May 06, 2006, 08:36:27 PM by Numsgil »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7718
    • View Profile
Simplest Evo Starter Bot
« Reply #136 on: May 06, 2006, 08:59:42 PM »
Did some tests... it's definately that gene.  It's quite capable of sending itself to other bots via viruses.  And quite quickly.  And I think with some evolution its speed is only going to get faster.

You have something both amazing and scary here.  Scary because the DNA of your bots is going to replicate faster and faster, eventually overwhelming your system.

I'm not sure what course of action to suggest.  You want to limit the DNA length before your system crashes.  Enabling a cost per bp per cycle (a very, very low one) seems the best choice.
« Last Edit: May 06, 2006, 09:00:32 PM by Numsgil »

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
Simplest Evo Starter Bot
« Reply #137 on: May 07, 2006, 04:51:51 AM »
An evolved virus! Fascinating

It seems to mimic accelerated altzimers ... and can cause the bot to reproduce. I've also seen bots forming and deleting ties, fixing and various other behaviors. It actually seems to speed up evolution in the ex nihlo sim.

Just as Testlund said, all the offspring end up fixed

So viruses in 2.4 do work, but they're invisible  

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Simplest Evo Starter Bot
« Reply #138 on: May 07, 2006, 08:50:03 AM »
So you're saying that it's a legitimite behavior then? In that case... I think I got a good veggie here that reproduces and forms ties to offspring, and I've also seen they share some information (the ties blink white every now and then). What do you think? Here's the DNA and a screenshot:

Oh-oh... DAMN! The save has gotten corrupted! I was going to load it to take a screenshot and save the DNA. AAAAHH!!!   It's been running for about 12 hours and all my autosaves have been corrupted too!!!

I don't suppose Eric could check it out and see if he could repair my save? Just this once. Maybe I will not be able to get a sim like this again. Please. here's the corrupted save.

I think I give up on this and wait for 2.42.4  
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Simplest Evo Starter Bot
« Reply #139 on: May 07, 2006, 09:07:57 AM »
Oh, never mind! I managed to load the save with the hack that Eric provided (2.42.3c) Ok, here it is then. The DNA and the screenshot:

 else
 xor
 5 sgn start
 angle rnd and
 pyth inc
 mod stop
 stop

''''''''''''''''''''''''Gene  0: Last 'stop' at position  13''''''''''''''''''''''',

 angle rnd and
 pyth inc
 mod stop
 else
 xor
 8 sgn start
 else
 xor
 5 sgn start
 =
 xor
 ^ sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 abs start
 else
 xor
 5 * start
 else
 xor
 5 sgn start
 else
 xor
 5 add start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 add start
 else
 xor
 cond
 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 !~=
 start
 else
 xor
 16 sgn else
 else
 xor
 5 sgn start
 else
 xor
 5 sgn else
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 1 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 9 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn stop
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 0 sgn start
 start
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 start
 angle rnd and
 pyth inc
 mod stop
 start
 angle rnd not
 pyth store
 mod stop
 start
 angle rnd not
 pyth store
 mod stop
 start
 angle rnd not
 pyth store
 mod stop
 else
 start
 start
 angle rnd and
 pyth inc
 mod start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 start
 angle rnd or
 pyth inc
 mod stop
 else
 xor
 5 sgn start
 cond
 xor
 5 sgn start
 else
 xor
 5 sgn start
 start
 angle rnd and
 pyth inc
 mod start
 else
 xor
 5 sgn start
 else
 xor
 5 sgn start
 start
 stop

''''''''''''''''''''''''Gene  2: Last 'stop' at position  340''''''''''''''''''''''',

 add *47 26 dec
 and
 *-10 sqr mult <=
 <
 cond
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Simplest Evo Starter Bot
« Reply #140 on: May 07, 2006, 09:23:31 AM »
Quote from: Numsgil
I'm not sure what course of action to suggest.  You want to limit the DNA length before your system crashes.  Enabling a cost per bp per cycle (a very, very low one) seems the best choice.

I guess I missed this post earlier. The prog hasn't crashed on me so far but it has gone down to 2 cycles/sec. I guess you're suggesting that I set a cost value in the DNA upkeep. I'm going to set it to 0.001 to see what happens.

I'm getting error overflow and the program crashes now instead whenever I try to load the sim. I guess the hack doesn't work after all.
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
    • Games And Electronica
Simplest Evo Starter Bot
« Reply #141 on: May 07, 2006, 10:58:32 AM »
I just discovered that some bots and veggies shoots virus shots. Virus shots are cyan, right? I had an earlier save that wasn't corrupted. Still... About 12 hours of sim has been lost.
"God is an ever receding pocket of scientific ignorence." - Neil DeGrasse Tyson

"God is a kid with an ant farm" - Constantine

Offline Evitan

  • Bot Neophyte
  • *
  • Posts: 5
    • View Profile
Simplest Evo Starter Bot
« Reply #142 on: May 07, 2006, 06:05:39 PM »
Hi, I'm a new user (from Belgium)

Very interesting topic.
I'm using 2.42b

I'm am running a sim with the A_Gyver veggie
The other Robot just has 11 zero's in the textfile

16.000 cycles have passed and I have 400 births but no evolution.
Is it normal that they reproduce without genes? (This might    be a Newbie question)
I'm using the default settings. + mutation rates at 32

Great program! very addictive...

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7718
    • View Profile
Simplest Evo Starter Bot
« Reply #143 on: May 07, 2006, 06:31:08 PM »
What do you mean reproduce without genes exactly?

It is possible.  If they accumulate waste some how they probably will eventually reproduce when the waste begins causing random effects.

Great to see a new face (metaphorically speaking of course).

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
Simplest Evo Starter Bot
« Reply #144 on: May 08, 2006, 11:02:54 AM »
Doesn't the A_Gyver veg feed the bots and force bots to .repro with memory shots when they have enough energy?

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7718
    • View Profile
Simplest Evo Starter Bot
« Reply #145 on: May 08, 2006, 11:07:45 AM »
ooo, that would explain it, wouldn't it.