1. Re: Euphoria robots etc.
Robert,
---------------------- Information from the mail header
-----------------------
Poster: Robert McDougal <thedoog at MAILEXCITE.COM>
Organization: MailExcite (http://www.mailexcite.com:80)
Subject: Re: Euphoria robots etc.
------------------------------------------------------------------------
-------
The problem with a standard interface for the robots
thing is that not everybody has the same system. There are
those
of you who have the latest 400mhz computers with many megs
of RAM, and there are probably those of you whose computers
are worse than my 640K 386sx DOS system. Until the real-time
concept came up, the idea sounded fine. More people can
participate
if that is not done. The thought about penalties for taking to
long
to make a move has the same problem. How would you make a 20mhz
and a 400mhz computer be able to play against each other fairly?
You have two ways of doing this (maybe more, all I can think of
at the moment) :
1. Have the server execute all the robots code. All code will run
at the same speed, but the server is tied up all the time. Then you also
get into the problem of having to do all the robots simultaneously.
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.
You will need a Window95 or Windows NT machine to use the
Winsock library.
Regards,
Greg Harris