Bots and Simulations > The Gene depository

Multi-gene virus

(1/1)

Elite:

--- Code: ---def genecounter 51

cond
*.genecounter 0 =
start
.genecounter inc
stop

cond
*.vtimer 0 =
start
*.genecounter .mkvirus store
stop

cond
*.vtimer 1 =
start
.genecounter inc
100 .vshoot store
stop

cond
start
*.genes 1 add
stop

cond
*.genecounter =
start
1 .genecounter store
stop

end
--- End code ---

It will copy it's genes and vshoot them in sequence.
Doesn't work very well at all though  :wacko:

Just thought you might like to see it  :D

I was playing around with using a tie to grab and hold a bot in place, .delgene all the captured bot's genes through the tie, then vshoot its genes into the held bot.
Sort of like Endy's 'Two' bot, but for many genes.

Navigation

[0] Message Index

Go to full version