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 - lxstoian

Pages: [1]
1
Newbie / Newbie and population control
« on: February 09, 2008, 11:03:57 AM »
Hello folks. I stumbled over Darwinbos two days ago and liked the idea so started to work on my own bot.
I made a modified version of Animal_Minimalis By: Nums, which for some reason without any mutation as time went by ended up dividing suddenly into hundreds of individuals. I managed to select an individual that mutated and does not present this problem. It slowly eats everything else until its the only thing left. What could I use for a population control.
Here is the DNA.
'#name: spinner.txt
'#generation: 5
'#mutations: 2
 cond
 *.eye5 0 >
 *.refeye *.myeye !=
 start
 *.refveldx .dx store
 *.refvelup 30 add .up store
 stop
 cond
 10 rnd 1 =
 *50 21 >
 start
 200 rnd 100 sub .aimleft store
 stop
 cond
 *50 23 >
 *52 2 <
 start
 *50 *.eye5 sub 10 div .up store
 *50 *.eye5 sub -10 div .dn store
 stop
 cond
 *50 100 <
 start
 50 inc
 stop
 cond
 *.eye5 50 >
 *.refeye *.myeye !=
 start
 -1 .shoot store
 *.refvelup .up store
 stop
 cond
 *.eye5 50 >
 *.eye5 *.eye4 =
 *.eye5 *.eye6 =
 *.refeye 32 !=
 *50 21 >
 start
 *51 .tie store
 0 .aimleft store
 0 and
 .aimright store
 stop
 cond
 *.eye5 0 =
 *.refeye *.myeye =
 or
 start
 314 rnd .aimright store
 stop
 cond
 *.nrg 20000 >
 *.eye5 0 =
 *52 1 !=
 start
 50 .repro store
 15 50 store
 stop
 cond
 *.nrg 10000 >
 *52 2 =
 start
 30 .repro store
 stop
 cond
 *.waste 40 >
 start
 .backshot inc
 -4 .shoot store
 *.waste .shootval store
 stop
 cond
 *.shdn 0 <
 *.pleas -10 <
 start
 620 .aimleft store
 stop
 cond
 620 .aimleft store
 stop

'#hash: H^*r_>ZY7^CH)rIHW86U

Pages: [1]