Bots and Simulations > The Gene depository

End All DNA defense

<< < (4/5) > >>

Endy:

--- Quote ---Quantum tunneling. Definately. Wouldn't surprise me in the least.
--- End quote ---
Nums, the One who has finally surpassed the God in posts.

Cool. Db goes sci-fi, with new quantum-tunneling laser. :)

Alright, I'm going off topic here. I'll try and be a good boy, now.

Endy :blueblob:

Endy:
Added a couple things for viral defense I've been working on. Also working on idea for deliberatly making a virus at the start but then holding off from firing it. It looks like it would be best to have both a start gene to mess with viruses somewhat and then an end viral defense gene to attempt to block them outhright. Best spot for (reproducing type)viruses is past the end gene where they can do the most damage.

cond
start
0 *.delgene 1 ceil .delgene mult store
0 *.mrepro 1 ceil .mrepro mult store
0 *.sexrepro 1 ceil .sexrepro mult store
*.fixed .fixpos mult dec

' Hopefully deletes viral genes entering after thisgene
*.genes .delgene
*.thisgene *.genes sub dup div mult *.robage sgn mult store

' Use next with caution could del one of your own genes
' Assumes that virus is storing *.thisgene into mkvirus

*.mkvirus .degene *.mkvirus dup div mult store

0 .vshoot *.vshoot 1 ceil mult store
.genes inc
stop

Endy B)

Numsgil:
Good bit of work.  Can't wait to see it in action in 3.0

Endy:
I think your idea of viral protection genes needs to be expanded to the first gene also. Even with the new *.thisgene gene self-identication is still difficult to accomplish. Only at the 1st and last gene are you absolutely sure that the gene before or after is a viral gene and not one of your own. A similar delgene technique can be used to delete any gene before the first gene.

' First gene to compliment last for viral defense
cond
start
1 .delgene
*.thisgene 1 sub dup div mult store
50 .vtimer
*.vtimer dup div mult store
stop

Endy B)

Endy:
I think it might be possible to set up a whole genome defense by use of the OR.

For example:

Gene A
Viral Gene
Gene B

Gene A senses that genes have changed but *.thisgene remains the same.
Gene A sends a message to the other genes by inc 50.
Gene B activates due to condition OR *50 0 > at end, it sense that *.thisgene has changed and deletes the virus. If the viral gene is after Gene B than the message continues activating every gene until the viral gene has been deleted.

Would take a bit of work to set up and would require deactivating code within genes when the gene activates based on *50 alone, but should allow immediate identification and deletion of a viral gene.

Endy B)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version