Author Topic: Evolving Dom ternia E  (Read 17090 times)

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Evolving Dom ternia E
« Reply #15 on: May 09, 2005, 10:00:01 PM »
I think he means ancestor :rolleyes:

Endy B)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Evolving Dom ternia E
« Reply #16 on: May 10, 2005, 01:13:28 AM »
It's spelled phonetically!

Huked on Fanecs Wurked for Mee.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Evolving Dom ternia E
« Reply #17 on: May 10, 2005, 09:13:29 AM »
I thawt it wuz huked on fonniks.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Old Henk

  • Bot Destroyer
  • ***
  • Posts: 229
    • View Profile
Evolving Dom ternia E
« Reply #18 on: May 10, 2005, 11:11:42 AM »
Screw Ancestor! Endsestor is way cooler!  :boing:

 :redface: whoops... off topic...

er...

 ;)

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #19 on: May 10, 2005, 11:47:35 AM »
You are all wrong,  it is "Phucked by Fonics"
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #20 on: May 10, 2005, 03:04:31 PM »
OK, getting back to the topic.  Can someone help me out to make Alga ternia a harder catch for Dom ternia E?  It needs to be something that can be introduced gently and increased in small steps.  What direction would be fun?  Allowing it to make some slime?  Or shell?  

Something like

cond
start
*shell 5 sub
.mkshell
store
stop

Seems a bit boring, don't you think?  Any ideas for interesting food beahviour?
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Carlo

  • Bot Destroyer
  • ***
  • Posts: 122
    • View Profile
Evolving Dom ternia E
« Reply #21 on: May 10, 2005, 03:58:52 PM »
Why not something related to the way it moves. For example, it could suddenly move laterally at random or change direction, trying to escape from the predator. Or it could turn back and shoot a few shots.

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #22 on: May 10, 2005, 04:11:29 PM »
Hmm, maybe change direction when shot?

Would this work?

cond
.shootup 0 !=
start
10 rand .aimdx store
stop

The value of 10 can be slowly increased to allow turns to become more and more random.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Evolving Dom ternia E
« Reply #23 on: May 10, 2005, 05:00:05 PM »
You could take the revel movement from animal minimalis and reverse it, so that the vegs run away from bots that it sees.

This would encourage your bots to sneak up behind a veggy perhaps.

The small steps could be something simple, like:

*.refvelup 10 div .up store instead of *.refvelup .up store.

Then just decrease 10 to 1 over several steps.
« Last Edit: May 10, 2005, 05:00:17 PM by Numsgil »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Evolving Dom ternia E
« Reply #24 on: May 10, 2005, 05:02:36 PM »
The idea is sound but your coding isn't I'm afraid.

Try this

cond
*.shup 0!=
start
20 rnd 10 sub .aimdx store
stop

This way it can turn in either direction with zero being the middle point for the .aimdx command.

Here is a useful little robot food species that I have been using for mutation sims.

Code: [Select]
'Rabbit bot. Food species. Set as autotroph
'practice your chasing skills on this one

def topspeed 5
def directionchange 100
def counter 101

cond
*.vel .topspeed <
start
.topspeed *.vel sub .up store
stop

cond
start
.counter inc
stop

cond
*.counter 100 >
start
600 rnd 300 sub .aimsx store
0 .counter store
stop

cond
*.nrg 6000 >
start
50 .repro store
stop

cond
*.body 200 >
start
100 .fdbody store
stop

end

You can change the angle and frequency of direction changes using the defined constants. Note that these don't necessarily have to be used as memory locations. They work as constant values too.
Top speed is also adjustable.
This bot will also never get fat and slow.

I use this to try and develop relatively simple bots so that they learn to chase a moving target.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #25 on: May 13, 2005, 03:10:13 PM »
Wow!  I put this gene:
Code: [Select]
cond
*.shup 0!=
start
20 rnd 10 sub .aimdx store
stop

into Alga ternia and that made it completely resistant to Dom ternia, which died very quickly!  

A new challenge, huh???  Exciting!
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #26 on: May 13, 2005, 03:29:35 PM »
Khm, there was a typo in the gene.  Never mind, Dom ternia still kicks ass.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Evolving Dom ternia E
« Reply #27 on: May 14, 2005, 11:57:44 AM »
getting back to "endsestor" , So I gess there is not enough difference between the robots worthy of discussion ; no one can tell me how the different features new robot works...

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Evolving Dom ternia E
« Reply #28 on: May 14, 2005, 01:37:02 PM »
Bots:  There certainly is a very big difference!  Just no one cared enough to go through the code and trace the effect of every new command.  Figuring out how evolved bot works is hell - they don't do stuff logically :)


Back to the way to improve the Alga ternia - I tried the gene suggested by PY and it had no effect.  Turns out Dom ternia feeds through ties, not through shots.  OK, I changed the condition to start the gene when a tie is formed - still no effect.  The gene is activated all right, but Dom ternia shoots out a tie when it is very-very close to the victim, and at that point it is too late to change direction.  I even tried to change the gene so that Alga ternia could run in all 360 degrees when it feels the tie, but still no help.  Dom ternia eats it as easily as before.

So I am waiting for some more suggestions.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Evolving Dom ternia E
« Reply #29 on: May 14, 2005, 01:53:09 PM »
Give it a bit of slime so that DOM has to work a bit harder to attach the tie.

cond
*.slime 100 <
start
100 *.slime sub .mkslime store
stop

Just adjust the 100 to a suitable value. The veggie will now throw as much of its energy as needed into maintaining the slime barrier at this exact level. It is even possible that the veg will burn itself completely out before DOM can get attached.

After the tie is attached it is too late. nothing but a leach gene is going to save the veggie after that.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D