News for hackers. Stuff that matters.
Re:Vindinium is an Artificial Intelligence programming chall... by sixhobbits on Wednesday May 18, 2016 @05:45AM (#11720763)
I haven't tried this yet, but based on similar challenges I've participated I'm surprised by the fact that your bot moves by calling an http endpoint. Considering the 1 second move limit, I image it's difficult to time your moves right to guarantee that they arrive on time.
Re:Vindinium is an Artificial Intelligence programming chall... by LoneWolf on Wednesday May 18, 2016 @06:33AM (#11720940)
I feel the same, I have participated in aichallenge.org before and everything was run server-side, we had a 1 second move limit too, I have not run any starter yet to try it out but seems like using HTTP will have big issues with timing, I would prefer something that connects to a socket and keeps the connection up, would reduce some of the latency of establishing a connection.

Some people created a tcp server for the Ants one that allowed that: https://github.com/berak/ants-tcp I don't remember much of the details, since it was nearly 5 years ago, but it was an awesome thing to participate in.

Re:Vindinium is an Artificial Intelligence programming chall... by fahadkhan on Wednesday May 18, 2016 @07:06AM (#11721054)
Does the server not respect `Connection: keep-alive` ?
Re:Vindinium is an Artificial Intelligence programming chall... by joelthelion on Wednesday May 18, 2016 @08:27AM (#11721386)
If you have an HTTP session with keep-alive, it works well enough. I played Vindinium for a while and only very seldom experienced timeouts unrelated to my code.
Re:Vindinium is an Artificial Intelligence programming chall... by richdougherty on Wednesday May 18, 2016 @04:43PM (#11725757)
Also having the code run on players' computers means there's no way to stop cheating by having a human player providing some of the intelligence.