Darwinbots Forum
Code center => Suggestions => Topic started by: Endy on May 02, 2007, 05:47:22 PM
-
Would it be posssible for .fdbody/.strbody, .mkshell/.mkslime to be reversable in the next version? I've been using this in my knock-off version and had really good results with the bots figuring out novel ways to use them.
They managed to come up with this efficent bit of code to self-regulate their own body levels.
*.body rnd 100 sub .fdbody store
In a zero-ot sim they even appeared to start shell feeding there for awhile(shell sharing + reverse mkshell) didn't last unfortuantly, but it was interesting to see.
-
Maybe we can overload all of them into one location.
For instance:
*.body rnd 100 sub .body store
-
I was kind of thinking about that too. We could probably make the programming lanugage much more concise this way and free-up alot of memory locations(hopefully for better things).