Genetic code for these creatures is going to be an 11 character language based off brainfuck. The commands for the creatures is as follows:
- '<' and '>' increment/decrement the pointer to the primary node.
- 'v' and '^' increment/decrement the pointer to the secondary node.
- '.' link the secondary node and the primary node. If the two already linked, do nothing.
- ',' unlink the primary and secondary nodes if they are linked, else do nothing.
- '+' and '-' increment/decrement the value of the primary node (note that this value is cyclic!).
- '[' and ']' will preform looping functions, as in brainfuck. The loop terminates when the value a the primary node is zero when a check is made.
- '*' is a special character--it does nothing in the developmental code. Instead, it's used to mate creatures, maybe even to speciate them in a later version: '*'s are point of possible crossover. Actually, this command is where I can't wait to see what the program does. How will these characters, which have nothing directly to do with fitness, position themselves in the genome? Will it be random, haphazardly strewn around in the middle of loops and such? Could these start to partition off genes somehow, segments of the program which are independent from each other? I hope it's the latter. It would be really neat to see the evolution of alleles and such--some kind of more complex genetic code.