Darwinbots Forum

Code center => Suggestions => Topic started by: EricL on August 21, 2007, 11:54:12 PM

Title: Communicate with your bots!
Post by: EricL on August 21, 2007, 11:54:12 PM
What do people think of the idea of exposing some UI in the simulator that would allow the human to change the values of say no more that 5 named memory locations accessable to all bots via sysvars?  In this way, bots could be coded to switch modes, change behaviour, modify thresholds, etc. based upon the values of these as specifed by the human at sim run time.

I'd use them for example, the tweak the population level my evo sim preditors used to self regulate their population.

Just an idea.  Not implemented yet.  Interested in whether there is support/desire for this.
Title: Communicate with your bots!
Post by: Numsgil on August 21, 2007, 11:57:53 PM
I think it's reasonable.  There's already a few sysvars (one I can think of: .maxvel) that return information about the system.  There's nothing inherantly different from that and custom information.
Title: Communicate with your bots!
Post by: Martian on August 22, 2007, 05:30:21 AM
I like the idea.  
Title: Communicate with your bots!
Post by: googlyeyesultra on August 22, 2007, 09:39:51 AM
Obviously, this would have to be disabled from leagues, since one person is running them, who is usually not the bot's creator.

"Sorry, you didn't place."

"Well of course I didn't place, you didn't put in the right values!"

. . .

Otherwise, quite neat.
Title: Communicate with your bots!
Post by: EricL on August 22, 2007, 10:33:54 AM
OKay, I'll put this on the list.  Not for 2.43b, but not too far away...

As far as leagues go, I'm very happy to disable this or anything else people want in league mode.
Title: Communicate with your bots!
Post by: Jez on August 24, 2007, 05:34:50 PM
Quote from: EricL
As far as leagues go, I'm very happy to disable this or anything else people want in league mode.
So long as leagues are fixed, I.e. always the same, I'm happy.