1. Re: Euphoria robots etc.

Hello!

-----Original Message-----
From: Daniel Berstein <daber at PAIR.COM>
Subject: Re: Euphoria robots etc.


>>2.      Lock each client to the same speed. Execute the code and send
>>updates to the other clients. This will keep it fair. Sloppy or too
>>complex code will take longer for your robot to execute than someone who
>>writes short and efficient code. With the same time base on each client,
>>it doesn't matter if you have a 20 MHz or a 700 MHz machine.

>A better aprouch (IMHO):
>1.-Distribute a standard benchmarking program.
>2.-Benchmark results are sent to the server/game administrator, identified
>by
>a user (robot) key password (so you can't lie).
>3.-Robot performance is  handicapped by the benchmark test.

After I wrote this I was thinking (I know that's dangerous) but if one
client was choosen to be the "referee" and executed the code for everybody
and then sent out periodic updates to the other clients. Who goes first
would be detemined by a random order based on the referees IP address or
something else as the random seed number. Each line of code would be
executed in the order determined for each client.

Line 1.. client1..client2..client3..etc..
Line 2.. client1..client2..client3..etc..

That way everything operates on one standard time base and the main server
doesn't get tied down except to store information like player stats and
such..

Just thinking..

Greg Harris

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu