News for hackers. Stuff that matters.
Re:Win $10,000 by creating a race car bot in haskell, scala ... by spuz on Monday March 31, 2014 @07:58AM (#7500840)
> The server will send you track details and car positions and your job is to send car control messages to the server. You'll communicate with a game server using JSON over TCP. More details will be delivered later.”

I don't understand how this could work for a real-time game. I don't know what the input format is like but assuming you need to provide control commands eg:

    {accelerate:1.0, steer:-0.01, brake:0}
Then the behaviour of my car depends wholly on when that command arrives at the server. If there is a small delay it could have a dramatic effect on the position of the car. Similarly, my AI needs to react to information sent by the server which similarly could be delayed when sending over TCP.

Assuming the input format is the actual status of the car, eg:

    {positionx:123, positiony:234}
Then what is to stop me from submitting illegal inputs? Validation might work but it will be impossible for me to validate the output of my AI without access to the simulation code (apparently that is being kept closed source).

Maybe there is another technical solution I haven't thought of? Or maybe the simulation won't run in realtime but will actually work on fixed time steps?

Re:Win $10,000 by creating a race car bot in haskell, scala ... by mikko-apo on Monday March 31, 2014 @08:17AM (#7500908)
Hi!

Very good question :) The message protocol is synchronized because of latency. When the developers test their bots against the game servers, the server allows long response times. When automated races are run in the cloud (with low latency), the response times need to be more strict.

Re:Win $10,000 by creating a race car bot in haskell, scala ... by mcv on Monday March 31, 2014 @08:25AM (#7500936)
Can you test your own bots? As far as I can tell, the rules only specify that they're automatically tested daily. I'd like the ability to test whenever I need to.
Re:Win $10,000 by creating a race car bot in haskell, scala ... by mikko-apo on Monday March 31, 2014 @08:44AM (#7501036)
Yes, we'll provide test game servers that you can use.
Re:Win $10,000 by creating a race car bot in haskell, scala ... by mcv on Monday March 31, 2014 @09:16AM (#7501208)
Are there limits to how much you can use them? Suppose I want to use AI techniques that require tons of tests to be run. Is that okay?
Re:Win $10,000 by creating a race car bot in haskell, scala ... by mikko-apo on Tuesday April 01, 2014 @01:59PM (#7510302)
Unfortunately due budget constraints we can't allow unlimited access to test game servers. Do you have an estimate on how many rounds would you need to evolve the algorithm enough?
Re:Win $10,000 by creating a race car bot in haskell, scala ... by aerique on Friday April 04, 2014 @03:51AM (#7529905)
The Google AI challenges allowed one to run a game server locally so testing was only limited by one's own resources. (A bot made using genetic programming did pretty well: http://planetwars.aichallenge.org/profile.php?user_id=4038)
Re:Win $10,000 by creating a race car bot in haskell, scala ... by mcv on Wednesday April 02, 2014 @04:33PM (#7518799)
No idea. I have no idea how complex the simulation is going to be. How about a simple version that can be run locally?
Re:Win $10,000 by creating a race car bot in haskell, scala ... by mikko-apo on Sunday April 06, 2014 @09:12AM (#7540805)
I would image the complexity being really high because the game is about racing against other AIs. What do you think?

And I'm afraid local versions are out because:

1. players would reverse engineer the server's simulation code

2. we don't want to give access to other team's bots

Re:Win $10,000 by creating a race car bot in haskell, scala ... by SixSigma on Tuesday April 01, 2014 @04:41AM (#7506862)
Couldn't you record the received messages and replay them?
Re:Win $10,000 by creating a race car bot in haskell, scala ... by mcv on Tuesday April 01, 2014 @07:31AM (#7507326)
I don't see what use that would be. If the test server was a simple data repository, it would be useless for testing algorithms.
Re:Win $10,000 by creating a race car bot in haskell, scala ... by d_theorist on Monday March 31, 2014 @12:10PM (#7502321)
I would like to know the answer to this.
Re:Win $10,000 by creating a race car bot in haskell, scala ... by omahlama on Monday March 31, 2014 @08:04AM (#7500870)
It does work - I've seen it :) It does depend on a low ping between the bots and the server, but that is taken care of by the organizers.
Re:Win $10,000 by creating a race car bot in haskell, scala ... by TeMPOraL on Monday March 31, 2014 @08:10AM (#7500890)
Well, the ping (and uncertainty of it) is just a parameter in an closed-loop feedback control system ;). You can handle it.