On Nov 24, 2005, at 2:51 PM, Simon Kr?ger wrote:

> Reinder Verlinde wrote:
>
>> I also have the first security breach to report. I do not think  
>> you intend that the following should be valid inside a robot:
>>     @battlefield.robots.each do |other|
>>       puts "robot #{other}: x #{other.x}, y #{other.y}"
>>     end
>> If a robot can do that, the radar seems extremely limited.
>
> Robots are distributed as source code (i don't see another way anyway)
> so nobody would want to compete against such a bot.
> (You can search ObjectSpace and find the other robot, setting his  
> energy
> to -1, easy victory but without honour)
> Maybe there is a way to protect against such strategies i didn't  
> thought
> of, any ideas?

Sure, move the communication to a client server architecture so you  
can control this better.  You've got to stop them running in the same  
process, to make it easier on yourself.

James Edward Gray II