Author Topic: Multi Bot Ant  (Read 5792 times)

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Multi Bot Ant
« on: March 30, 2005, 09:20:17 AM »
Hi everyone. We all know PYs ant. im working on something better. in the old forum I sugjested making a MB ant where each type looks different. That is what im working on. Each type have a body of its own, a working is very simple while the queen have the most complex form. The queen look like this:
Code: [Select]
    O
    |
    O
   / \
  O   O
and the worker:
Code: [Select]
O-OQurently ive only made the body and construciton of them ready. the behavior is still left. Ive come up whit things that makes the genome alot shorter. When we want a new worker, farmer or what ever I add in the future, ive come up whit a system that makes the genome X-1 genes shorter. X=amount of body types. And the body of the queen uses only 2 genes :D hopefully I will finish this and make it work B)
« Last Edit: March 30, 2005, 09:26:58 AM by zelos »
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Multi Bot Ant
« Reply #1 on: March 30, 2005, 09:27:34 AM »
What happens when a queen dies?

Are workers able to become new queens or will the colony just fall apart?
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Multi Bot Ant
« Reply #2 on: March 30, 2005, 09:33:36 AM »
havent worked that out yet, I start making it work whit out that the queen dies, then I can take that prob in to the calculation. but an idea would be that the queen makes an egg that a worker can stimulate to become a queen if it dies. like:
Q=Egg
O=bot
*=shoot
Code: [Select]
                O
                 |
  Q***O-O   ->   O      O-O
                / \
               O   O
or maybe that when a arm feels the brain (I call the middle one brain) is gone it becomes a new queen. like:
Code: [Select]
   O          O          O
    |                     |
    O    ->          ->   O   X 3
   / \                   / \
  O   O      O   O      O   O
wonder which would be best
« Last Edit: March 30, 2005, 09:45:59 AM by zelos »
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Multi Bot Ant
« Reply #3 on: March 30, 2005, 09:40:31 AM »
That would be cool  B)

How do you plan to make an egg though? Also how will the workers recognize it as a dormant queen?

Can't wait to see the working version  :D
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Multi Bot Ant
« Reply #4 on: March 30, 2005, 09:47:51 AM »
the egg can be alone between to of the arms of the queen, or even be the brain, coz its most likly the middle part survives, coz I think I add that, when it feels its about to die it will drain all the energy and delete all ties so it can save up energy to survive a bit longer. or an egg can be planted at the edge of an arm. dormant queen? you mean dominate queen?

but when it comes to reproduction im thinking on useing sexrepro when we shall have a new queen. how is that supposed to be done? I think that the queen makes 1 eggs or something, when that one shall be created I use .mrepro. but then the arm use sexrepro whit the new cell and we get a new bot that does have mutations but hopefully not to many.

im also thinking on making it so they can check a worker or anything if it got vitial mutations to the body structer. like that I have a .mutcheck and each gene that construct the body add X to that value and then its put to a .out memory. if its wrong the worker see it as threathening and kill it.
« Last Edit: March 30, 2005, 11:44:39 AM by zelos »
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Multi Bot Ant
« Reply #5 on: March 30, 2005, 01:27:23 PM »
Quote
dormant queen? you mean dominate queen?

No I mean dormant as in inactive, not yet mature, the egg!

Ants need to be able to recognize their own queen and each other but not those of a different colony, even a colony of the same species. How will a dormant (egg) queen be recognized by the worker such that they won't kill it?
Two queens in a nest is not a great idea!
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Multi Bot Ant
« Reply #6 on: March 30, 2005, 02:17:38 PM »
that, its already done. every bot in one colony have a ID that they look for, everything which have it not do they attack. They have all the same ID, and when a queen is made it will get a new ID I think.
« Last Edit: March 30, 2005, 02:18:42 PM by zelos »
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Multi Bot Ant
« Reply #7 on: March 30, 2005, 02:34:47 PM »
There are certainly some tricky problems with ants. Took me ages and 5 prototypes to get a good working ant colony.
« Last Edit: April 05, 2005, 11:27:36 AM by PurpleYouko »
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Multi Bot Ant
« Reply #8 on: March 31, 2005, 04:25:41 AM »
it sure is, right now, I have the problem taht the workers stop after a while sending energy to the queen. I use
Code: [Select]
50 .tieval store
-2 .shoot store
but it stop after a while :wacko:
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline Old Henk

  • Bot Destroyer
  • ***
  • Posts: 229
    • View Profile
Multi Bot Ant
« Reply #9 on: April 05, 2005, 10:19:16 AM »
It should be

Via ties:

<tienumber> .tienum store
-1 .tieloc store
50 .tieval store

or via shots

-2 .shoots store
50 .shootval store

Bwraghw, I hate antbots. Made an Antbot, but it is very difficult to program an antbot indeed. bwraghw ;) :tantrum:

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Multi Bot Ant
« Reply #10 on: April 05, 2005, 03:25:46 PM »
If we ever get more than like 1 functinal antbot species we should form a league.  The rules would be something along the lines of:

1.  Any individual that reproduces must not be capable of finding its own food.
2.  Any individual that finds its own food must not be capable of reproducing.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Multi Bot Ant
« Reply #11 on: April 05, 2005, 05:03:32 PM »
Quote
1. Any individual that reproduces must not be capable of finding its own food.
2. Any individual that finds its own food must not be capable of reproducing.

Except where a bot that meets criteria 1 dies and has to be replaced by a bot previously meeting criteria 2.
Basicly a bot should be able to morph from one to the other at need but not do both at once.

Have you played with ant-bots Num?
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Multi Bot Ant
« Reply #12 on: April 05, 2005, 06:05:29 PM »
Quote
Have you played with ant-bots Num?
Only in thought.  I haven't tried any code yet.  Here's wht I'm thinking:

At birth an ant is defined to either be a mating male/new queen or a worker.  Worker's aren't allowed to become queens.  Only a new queen can become a queen.

So if the old queen dies, what happens? Either the colony dies or an new queen that's in the area claims leadership.

The idea then is that the 5 bots you start with are all new queens and each forms a different colony.

I'll start playing with ant bots when the env grid allows for 'dirt' that can be dug into (for a nest) and pheremone trails.

Having workers become queens would make league rules for an ant league very difficult.  If you can design an ant bot using the two rules I outlined above you definately have an ant like species.

Also, any ant bot league should have a much larger field size.  The tiny tiny F1 size isn't appropriate for any kind of ant species.

And the new queens should probably start with a lot more energy than normal F1 bots.

Here's what I imagine:


The green specks show where food may be found, and where bots are placed at the start of the simulation.

This obviously implies a fairly advanced:

1.  Robot placement tool
2.  Env Grid:
  • For phermone trails
  • For "dirt"

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Multi Bot Ant
« Reply #13 on: April 05, 2005, 09:37:13 PM »
You should try running my Ant-bot 5 (if you haven't already)

The queen is created with a random ID number which is then transferred to her workers so that they can identify here using memloc and memval.

Workers also remember the locaton of the queen so that they can return with food.

If a worker returns to an empty nest, it becomes the new queen.

Don't know how well it works in 2.36 though.

Pheremone in the grid will be cool  B)
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
Multi Bot Ant
« Reply #14 on: April 06, 2005, 01:45:44 PM »
it was the .shootval I ment, dont know why I said .tieval. anyhow. I use the .shootval and they just stop after a while. and the phermone stuff did I sugjest a while ago.
I like the challange :D of making it. but I continue whit this bot later when we got the mebo system working.

and the stuff that a worker can become queen doesnt I like. ive never heard that ants can make a worker a queen. but I think I make it so that the queen later disconnect all the arms if it loses one or are under attack. right before it do it it sux all the energy it can get. After that it run away to form a new colony or simple lead the old workers to the new place by phermones.

how about that idea?
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA