Welcome To Darwinbots > Newbie

The body

(1/4) > >>

Darwin226:
Ok. I have several body related questions.

1. How is the actual body value calculated?
-Is it like energy?
If I have 1000 energy and get one more it's 1001, if I have 3000 energy and get one more I have 3001.
-Or is it more like eye?
Eye is 0, the bot get's a little closer and eye is 1. Eye is 50, the bot gets a little closer and eye is suddenly 3000 or something.
-See what I mean? Eye increases exponentially (I think)

2. What is the optimal body size?
-I want a bot that can hunt. That means I need a balance between movement and shooting.

3. What do you think is the best solution for eating swarms?
-I've seen a lot of bots that reproduce until they are really, really, really small (body 5 or less).
So now there's like 100 of them, everyone of them has 100 energy. 100*100=10000.
-I want to eat them but my bot has a lot of trouble hitting them.
I know I could think of something to eat them but how can my bot tell there is a whole lot of them?
He only has 9 eyes, which means he can see a total of 9 bots and there's at least 9 bots when he hits a group of veggies.
How can he tell if they are hostile or leafy?


Thanks in advance.

Peter:
Body wiki
wiki eye
(50 is often the value when you are almost on the other bot)

Searching wiki does bring a lot of handy anwsers(hint)(hint)


An optimal body size depends on what you want to do. A body size of 1000 is a pretty save area for fighter-bots.

Yes, I hate those little bots too. Just keep shooting at them. And try to use some slime those little things often want to tie to you. And for little things they can still kill you fast.

The most used maner to see if a bot is a veggie or not is using the condition. There are more ways through. I don't know how you can identify multiple bots by eye. Can you even do that?

cond
''*.refeye 0 =''
start
action for the veggie
stop

cond
''*.refeye 0 =''
start
action for a non-veggie
stop

Darwin226:
1. That still didn't answer my question. Already read that

2. Ok. I'm using 300 right now. It's pretty effective but shoot's a little to short.

3. You can do that by changing the focuseye but I think it requires like 9 genes or something and that's just a little too much...

Peter:
Sorry I didn't knew you alread read it.

I really don't know your stragegy, so giving advise is hard. You can best try and error. You learn and get the best bots from that.

bacillus:

--- Quote from: Peter ---cond
''*.refeye 0 =''
start
action for the veggie
stop

cond
''*.refeye 0 =''
start
action for a non-veggie
stop
--- End quote ---
I think what you want is:

--- Code: ---cond
*.refeye 0 =
start
action for the veggie
stop

cond
*.refeye 0 !=
start
action for a non-veggie
stop
--- End code ---
To be extremely sure, it may be a good idea to include *.reftie 0 = and *.reftie 0 !=, respectively, into the conditions.

Navigation

[0] Message Index

[#] Next page

Go to full version