Code center > Darwinbots Program Source Code

How to help with darwinbots 3 development?

<< < (6/6)

Botsareus:
Modification on variable length DNA for a variable length amount of robots...

Numsgil:
Oh, I see.

The DNA isn't so very large that anything super clever needs to happen.  Right now it's set up as a tree of arrays (that is, a list of base pairs is a codule, a list of codules is a chromosome, a list of chromosomes is a bot's DNA).  The way .NET works, each array stores a reference to the elements in it instead of the actual objects, so it's not at all tricky for different bots' DNA to share the same physical representation.

And even if each bot has 10K base pairs, and there are 10K bots in the world, and no DNA is being shared, you're only looking at about 100 MBs.  So not something I'm super concerned about.

Navigation

[0] Message Index

[*] Previous page

Go to full version