Bots and Simulations > Bot Tavern
MutBot
Endy:
I was working on the idea of having a cannibot and normal altruistic bot combined in one package and instead wound up with the cannibot also being a true carnivore(MutBot in Starting Gate).
While I didn't intend on making the canni form only able to eat and hunt it's own species, it has seemed to make decent predator-prey cycles form. The carni-canni's need the altruists for food and the altruists need the cannis to defend against true canni threats.
--- Code: ---cond
*.robage 1 =
start
1 rnd *.myeye 50 store
stop
--- End code ---
Thisgene here is the main attraction, causing an approximatly 50/50 split between a given offspring being a canni-carni or altruist.
I've still got the simulation going, the latest mutations being repro nrg level increases, continual acceleration, and a continual shot mod, allowing a canni-norm phenotype(which is ironically more or less what I originally intended). The most gratifying effect is that none of the surviving lines haven't broken the altruist/canni gene, hopefully meaning the flexability is extremly useful to the bots.
PurpleYouko:
wouldn't that gene just place the value of *.myeye into memory location 50 and just leave the random (0 or 1) value on the stack?
Numsgil:
Yeeah, not to burst your bubble but it looks like you need an add in there.
Endy:
--- Code: ---cond
*.robage 1 =
start
*.myeye 1 rnd mult 50 store
stop
--- End code ---
Oops, that'll teach me not to try and rewrite the gene from memory. Still a decent bot, I had a couple of divergent species evolve from it. One was optimized towards pure canni with all of it's conspec avoidance genes changed to allow hunting family; the other was also a canni but avoided family members.
The second would reach decent population sizes with the second lagging a bit behind. Oddly the second would do better overall than it's canni cousin.
The interesting thing is that the semi-canni switched the mult with a dec and would deliberatly store just *.myeye into 50, so it always avoided kin.
The two bots also both appear to diverge from the main line at different points; since for the pure canni, the line is ignored(50 store peice added) but is otherwise unchanged.
MutBot
Numsgil:
That's interesting. Would you say they were seperate species, or were the divergences short lived?
Navigation
[0] Message Index
[#] Next page
Go to full version