Darwinbots Forum
Bots and Simulations => DNA - General => Topic started by: Welwordion on September 28, 2005, 08:56:34 AM
-
iI heard that with 2.4 you will be able to do calculations in conditions but will you also be able to place conditions int instructions?
like: if value x is <10 add 30 else add 50
so you do not have to write anew gene if you only want to vary a value?
-
I am pretty sure that is in the plan but only Num will know for sure.
2.4 is his baby. I'm sitting it out for the moment till he gets it released.
-
I'd love to figure out how to do that, but I don't see a way at the moment, so no, in 2.4 you will need a new gene for each condition (but not necessarily a new condition for each gene, but that's a different subject).
Ideally I'd be able to figure out a way to have nested conditions. That allows things like Finite State Machine programming, which allows compelx behavior to be written easier.
I'm open for suggestions on how.
-
Nested conditions would rock. B)
-
You could combine the stuff from SG's with normal genes to produce something like this. Or have one gene modify the referenced sysvars of another.
I had one bot begin reproducing based on body level. The body amount was itself made based on a lower nrg level than the original repro level. Interesting mutation since it told the bot that it had simultaneously enough nrg and body to repro.