Bots and Simulations > Interesting behaviour bots
Alga pollinator
Numsgil:
You're doing 3 .mkvirus store to create the virus, but if an algae gets infected it might change the order of the genes which might cause some weird gene duplication that could cause problems.
jknilinux:
Thanks! Okay, this should fix it:
[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']'Alga_Pollinator_0.3
'By: jknilinux
'It infects bots with a virus that makes them pollinate it and spread the virus to other bots.
cond
*.robage 0 =
start
7 989 store
stop
cond
7 *989 !=
start
*.thisgene 1 rnd 2 mult -1 add add .delgene store
*.eyef 0 =
10 .up store
not
*.refxpos *.refypos angle .setaim store
*.refvelup 30 add .up store
*.refveldx .dx store
-8 .shoot store
*.thisgene .mkvirus store
50 .vshoot store
else
*.vtimer 0 =
*.thisgene 1 sub .mkvirus store
stop
cond
*.eye5 0 >
*.refeye *.myeye !=
start
50 .vshoot store
stop
cond
*.eye5 0 =
*.refeye *.myeye = or
start
314 rnd .aimdx store
stop
cond
*.fertilized 0 >
*.nrg 5000 > 'Sometimes works better without this
start
33 .sexrepro store
stop
cond
*.genes 8 >
start
*.mkvirus .delgene store
stop
end
But it doesn't...
peterb:
hm intresting so you want to keep the algea from evolving by using a gene system.
I gues the gene system could also get damaged.
While the purpose of sexrepro was I think to exchange DNA... hmmm ahm hm well maybe that works I duno
Your idea is the reproduction method will depend on it so it becomes an evolutionairy force.
That is to say... until theoreticaly sexrepro turns into .repro
But thats a small chance
Dough if you dont want any evolving at all you might also put in the [x] at the settings.
So I asume you still like it to evolve but be more depended on other bots.
As a kind of penalty for their so easy living method to get energy.
And you dont want them to win each time in the end...
Compared to what I wrote I'm curious how well does it live in a sim?
The algea I wrote cant do repro (unless there he's eaten/killed) so it needs bots to survive.
It depends so strong on it that in fact the DB fishtank can dye, an eco disaster.
Often I saw a verry low population, while other bots florished and killed them all.
Then there was only none or one left, and so next the animals died too.
I never tried that repro nor did I try viruses.. but I wonder what is the effect of mrepro ? I rarely see it used
jknilinux:
You're right, my second idea wasn't too good. The goal is an evolution-proof way of keeping the veggies from killing their overlords, but maybe we just can't do that here...
Well the way real life works is the prey need the predators to prevent prey de-evolution... look at the dodo- no predators, and in just a few million years it turned into a waddling buffet.
Wait a second...
I just came up with a third method- the prey kill themselves without the predators:
All veggies continually shoot venom. They are not immune to their own venom, so if there are too many, they kill each other. Then, there's a predator that has slight immunity to the venom, and keeps the algae from killing themselves by killing enough of them that they're widely separated.
So, we just need an instakill venom attack... Any ideas?
Not as fun as pollination, but oh well.
You mean how well does alga pollinator do? If you put it in there with A. Minimalis, it steals their genes in 200 cycles, kills them all in 500.
mrepro increases the chance of mutations occurring in offspring.
peterb:
Sory but I'd like to mention that I also liked your ideas.
Its slightly different aprouch to a problem (veggies have an easy life let them be more dependant on bots).
So I like what you tried, dont give up.
I'd like to see a good working bot using your ideas.
Good is when you say its ready
new ideas are always welcome I think; new ideas give new insights.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version