Micropond1 XML Phenotype
From PodcastWiki
Critters in Micropond1 (see http://www.youtube.com/watch?v=GuWJ1ZiwO2g) do not use an internal XML representation of either their genotype or their phenotype. However, the genotype is a simple string composed of a number of instructions, each a simple character. The phenotype is simply a number of cells in a worm-like chain (as long as the number of instructions) with a head that may be oriented in one of four directions, an energy level, and a program counter pointing at the next instruction to execute. A critter within its environment could be represented as follows:
[edit]
Structure
<world> <critter id="61783"> <orientation>270</orientation> <energy>.9</energy> <genotype>M1>Z</genotype> <program_counter>2</program_counter> <cells> <cell x="99" y="100"/> <cell x="100" y="100"/> <cell x="100" y="99"/> <cell x="100" y="98"/> <cells> </critter> <food x="90" y="100"/> <obstacle x="89" y="100"/> </world>
