Darwinbots Forum
Bots and Simulations => DNA - General => The Gene depository => Topic started by: Endy on September 08, 2005, 09:57:07 PM
-
Figured out it'd be possible to have shots that fire them selves with a very little amount of help from the bots other than some additional code and large population sizes.
If one bot stores .shoot in .shoot and also in shootval, an incomming 7 shot will refire itself perpetually(until it misses)
(*.shoot .shootval store) in all bots code, original 7 .shoot store only required in one bot.
I haven't really figured out a use for this, it's just an oddball effect I thought up(boredom works wonders for imagination). Originally I was thinking of someway of having a form of parasites within the dna/memory (besides our retro-viruses). Then I realized that most code languages have some sort of "natural" mechanism for this already and all that was actually required was to find it, within DB itself.
-
If nothing else it would tie up the ability of the bots to feed using shots.
Not enough to cause serios extermination, but probably would hurt the population size slightly.
Problem is that such a ricocheting shot can't form another shot.
-
boredom works wonders for imagination
killer line. B)
-
Problem is that such a ricocheting shot can't form another shot.
cond
*.shoot 0 !=
start
*.shoot .shootval store
stop
If all bots have this code an incomming 7 shot would affect both shoot and shootval.
Something similar could be done with ties:
cond
start
.tie *.tiepres mult inc
stop
If every bot has this dna, a single initiator tie could have the effect of causing all the bots to tie.
-
But then it's the bots themselves and not the ties/shots that are doing the work.
Not that it's not a cool idea, just that it's not along the same lines as a self replicating virus.