Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Bagel

Pages: [1]
1
Evolution and Internet Sharing Sims / 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.

2
F2 bots / Ridicuous (F2) (Bagel) 01/02/11
« on: February 01, 2011, 03:03:36 PM »
Code: [Select]
'Ridiculous
'By Bagel
'First Bot
'Modified A. Minimalis with a bunch
'of new bells and whistles

'Find food
cond
 *.eye5 0 >
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop

'Shoot nrg
cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refnrg *.refbody >
start
 2 .shootval store
-1 .shoot store
 *.refvelup .up store
stop

'Shoot Body
cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refnrg *.refbody <
start
 2 .shootval store
-6 .shoot store
 *.refvelup .up store
stop

'Idle Roam
cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
 10 rnd .up store
stop

'Reproduce
cond
 *.nrg 18000 >
start
 15 .repro store
stop

'Sever the Tie
cond
 *.robage 0 =
start
 1 .deltie store
 7 .ploc store
-2 .pval store
stop

'Defence
cond
 *.shell 25 <=
start
 10 .mkshell store
stop

cond
 *.ploc 0 =
start
 7 .ploc store
-2 .pval store
stop

cond
 *.poison 50 <=
start
 10 .strpoison store
stop

'Garbage Removal
cond
 *.eye5 5 <=
 *.waste 100 >
start
 *.waste .shootval store
 -4 .shoot store
stop

cond
start
 0 .refeye store
 0 .refnrg store
 0 .refbody store
stop

end


Pages: [1]