Darwinbots Forum

Code center => Suggestions => Topic started by: Endy on May 02, 2007, 05:47:22 PM

Title: Reversable Storing Locations
Post 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.
Title: Reversable Storing Locations
Post by: Numsgil on May 02, 2007, 11:20:10 PM
Maybe we can overload all of them into one location.

For instance:
*.body rnd 100 sub .body store
Title: Reversable Storing Locations
Post by: Endy on May 03, 2007, 02:23:56 AM
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).