CRISPR Class
This class provides methods for targeted genetic modifications to the AI entities, inspired by the CRISPR gene-editing technology.
new
CRISPR(creature: Creature)
Constructor for the CRISPR class.
private
append(dna: CrisprInterface): Creature
Append new neurons and synapses to the creature based on the provided DNA.
cleaveDNA(dna: CrisprInterface): Creature
Apply the CRISPR modifications to the creature based on the specified DNA.
private
insert(dna: CrisprInterface): Creature
Insert new neurons and synapses into the creature based on the provided DNA.
Static method to edit aliases in the CRISPR DNA.