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.


Messages - lxstoian

Pages: [1]
1
Newbie / Newbie and population control
« on: February 09, 2008, 03:04:01 PM »
Well I think I managed to get a more active version that now doesn't stop moving. I added some code to the previous one and let it mutate.
This one seems to hunt very active and also for some reason it develops some sort of protuberance.  
Can someone tell me if that horn is a bug.
'#name: spinner1.1
'#generation: 11
'#mutations: 1
 cond
 *.eye5 0 =
 start
 10 .up store
 stop
 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 add 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
 620 .aimleft store
 stop
 end

2
Newbie / Newbie and population control
« on: February 09, 2008, 12:35:08 PM »
The code on that post makes my bot explode into a few hundred small bots.

Also is there anyway to make it more active, move around. I called it spinner cuz thats all that it does. Spins and eats everything that enters its range.

3
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]