Bots and Simulations > DNA - General

Hive coding

(1/6) > >>

Elite:
This thread is to discuss hivebot's hive coding (be that hive location, hibernating etc.)

The Hive is a location chosen by the Queen at the start of the sim as far away from the Pray communities as possible. It is a place that the species can come back to periodically to get orders from the Queen/Keepers.

When the species goes into hibernation it does so at the hive. Henk suggested a brilliant hibernation strategy:
All the hibernating bots tie together at the hive, then the 'wake up call' can be transmitted via chain reaction very quickly. Also, the hibernating bots could share nrg and include a few veggies in the 'hibernation web' to sustain the hibernating hivebots. Discuss the code for this here.

More importantly, we need some form of hive-selection code and basic hibernation code first.


Let the discussion begin  :)

Ulciscor:
Wow this could easily get horribly complicated. Was there a specific pattern in mind or would the hibernating bots just congregate and tie together any old how? Who is it that gives the wake up call? Forgive me if I'm asking questions with answers elsewhere. :P

Elite:
Ask all the questions you like  :D

1) Is there a specific pattern in mind?
- No, the bots just 'latch on' to the mass of hibernating bots

2) Who gives the wake-up call?
- A special caste called the Keepers does not hibernate. At birth each wraith has the (5% I think) chance of becoming a Keeper. Keeper's are sterile and do not go into hibernation with the others. When the Keepers determine that there is enough prey to feed on again, it is they who wake the other wraith up. It is also the Keepers' job to send the species into hibernation when their prey's numbers become too low.
The Keepers wake the other bots up by shooting an info shot at one of the hibernating bots. Then the 'wake-up call' is transmitted through the hive via chain reaction through the ties.
While hibernating, the wraith share nrg with each other and there are a few veggies in the tied up mass as well to sustain the wraith through the hibernation period.

Any more questions?  :D

Ulciscor:
From your description of the Keepers and the other Wraiths, it seems that the Keepers are the weak point in the chain... if anything malfunctions with them, or they are killed off, the whole system pretty much shuts down.

Also, chain reaction messages through networks is cool, but having tried this (somewhat naively) before, I ended up with the same info being passed between the same bots repeatedly. I think [Num] likened it to harmonic motion without a dampening force or similar.

My only idea to solve that was to have the bot send the info to other bots and then immediately sever its own ties and move away.

Elite:
The Keepers are sterile, and therefore very strong. Rather than hibernating, they 'pick off' one or two Praybots when they need a snack.
When a new wraith is born, it 'decides' wether or not to become a Keeper (5-10% chance) so new ones are being created during reproduction.
Weak link in the chain? I don't think so - there will be fail-safes in place:

1) If the keepers haven't woken the hive up after so many cycles then they will wake up anyway
2) If any one of the hibernating wraith are attacked then all of them will wake up
3) If a Keeper is threatened then they will wake the hive
4) If the pray become too much of a threat then they will wake the hive
5) Once the hive have woken, they will produce new keepers when they reproduce anyway
6) I doubt Preybot is that much of a threat  :D but we've always got to be open to new possibilities

As for the chain-reaction idea we'll probably try your idea (send message and then sever immediately), but we might have to play around with that one.
My idea was to use in/out signals to wake the hive
An alternative is that once one bot is woken they will try to wake others using info shots until they are all awake.

Thanks for your input Ulciscor  :)
Do you have any ideas as to how to do the hibernation?

Personally I think ties are rather complicated and messy anyway. I would like to avoid using them with Preybot, but I just liked the hibernation tieing idea  :)
I hope we can find a way to implement it.

Navigation

[0] Message Index

[#] Next page

Go to full version