Bots and Simulations > Evolution and Internet Sharing Sims

Movement evosim

(1/1)

Bagel:
Starting with this bot below and alga minimalis, I began an evosim to see what kinds of movement would become of this.


--- Code: ---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'
--- End code ---
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: ---''''''''''''''''''''''''  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
--- End code ---
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.

Shasta:
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.

Navigation

[0] Message Index

Go to full version