
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
Ian Badcoe wrote:
On Tue, 11 Nov 2003 21:50:51 GMT, [EMAIL PROTECTED] wrote:
demuyt wrote:
At the moment we only have C software for this. Theoretically, the controller function could be written in a different language if it was interfaced to the SailChallenge software. What language do you like to program in?
C++
The very most general approach would be to run the simulator as a TCP/IP server and the controller as a client which connects to it. That's the only way I know to be really platform and language independent. The server does not necessarily need to be running on your machine as the competitor can run his own local copy for testing.
Various frameworks already exist to implement systems like this but most of them are probably heavier than you really need (and I don't really know anything about them :).
To make such a system friendly for the competitor, you would probably need to provide a small interface library for the user to do the connecting, and communicating with the server. That would need to be compatible with whatever languages you support. However, keen users may make the effort to create that for you in their favourite language...
Those are all good ideas. All of the SailChallenge software is open source. When someone steps forward they will be welcomed. Perhaps one day we can all watch virtual sailboat races which are real competitions between the programmers who create the conrollers. My own role will be minimal; I will offers advice & suggestions, and I will improve the sailboat model, and make versions which simulate particular classes of sailboat. I'm also willing to replace the circular island with a triangular course like that used in real sailboat racing.
Cheers, T.
Mitchell Timin
| <-- __Chronological__ --> | <-- __Thread__ --> |