Author Topic: Movement evosim  (Read 1167 times)

Offline Bagel

  • Bot Neophyte
  • *
  • Posts: 3
    • View Profile
Movement evosim
« on: February 04, 2011, 08:19:47 PM »
Starting with this bot below and alga minimalis, I began an evosim to see what kinds of movement would become of this.

Code: [Select]
cond
start
 300 rnd .aimdx store
 -1 .shoot store
stop

cond
 *.nrg 15000 >
start
 50 .repro store
stop

cond
 *.robage 0 =
start
 1 .deltie store
 1000 .up store
stop
'And about a hundred zeroes'
There's 2x mutations, 500 vegs @ 25 nrg per cycle, and no Brownian Motion.  I am about 25000 cycles into it and these genes are becoming prevalent:
Code: [Select]
''''''''''''''''''''''''  Gene:  1 Begins at position  1  '''''''''''''''''''''''
 cond
 start
 300 rnd store
 -1 .shoot store
 stop
''''''''''''''''''''''''  Gene:  1 Ends at position  9  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  2 Begins at position  10  '''''''''''''''''''''''
 cond
 *.nrg 15000 >
 start
 50 .repro store
 stop
''''''''''''''''''''''''  Gene:  2 Ends at position  18  '''''''''''''''''''''''

''''''''''''''''''''''''  Gene:  3 Begins at position  19  '''''''''''''''''''''''
 cond
 *.robage 0 =
 start
 1 .deltie store
 1000 .up store
 stop
''''''''''''''''''''''''  Gene:  3 Ends at position  30  '''''''''''''''''''''''
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 add 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Curiously, the get random bursts of speed every now and again, always shooting.  Additionally, they all face the same direction, either left or right.  Not sure where its getting its bursts from.
« Last Edit: February 04, 2011, 08:31:23 PM by Bagel »

Offline Shasta

  • Administrator
  • Bot Destroyer
  • *****
  • Posts: 231
    • View Profile
Re: Movement evosim
« Reply #1 on: February 05, 2011, 05:02:00 PM »
The 300 rnd store is probably where any strange behavior you see is coming from right now. That bit will put whatever number is on top of the stack into a random gene from 0 to 300.