Darwinbots Forum
Code center => Suggestions => Topic started by: Welwordion on April 17, 2006, 07:47:03 AM
-
It would be nice to have options that would allow to kill all robots that fullfill a certain condition.
For example an option:
kill all bots that are (cycles now- cycles at activation)/1000 rounded down generation, which would kill the old generations starting from 0 and progressing to the next generation after 1000 cycles.
-
Those kind of things will be possible with improved scripts; see this (http://www.darwinbots.com/Forum/index.php?showtopic=316&b=1&st=&p=entry) topic
I'd really like that scriptsystem to come as it would greatly increase DB's ease-of-use, especially in evo-sims.
-
I've been thinking a little about scripts recently. I think the best solution is to create a new programming language that's somewhat similar to the ones the bots use, and have "System sysvars". So a script might look like:
cond
*.Simcycles 100000 =
start
Simgravity inc
stop
or something like that. I dunno, just a thought.
-
Yeah that'd be great!
A simulation with it's own DNA that regulates itself, that'd be SO cool
-
FYI, you can use the new age cost in 2.42.2 to kill bots that reach a certain age in cycles by specifying a huge cost that doesn't kick in until you want it to... Not exactly what you want, but works today...
-
The simulation/world has bot DNA itself?
WOOOOSH Gaia theory
http://en.wikipedia.org/wiki/Gaia_theory (http://en.wikipedia.org/wiki/Gaia_theory)
-
The hardest part is deciding on syntax.
Like, say you want to do something for every bot. What's the best syntax? What if you want to do something with only one species?