Live data from Hacker News

Vindinium is an Artificial Intelligence programming challenge

vindinium.org

1–10 of 16 posts

Re: Vindinium is an Artificial Intelligence programming challenge

#3
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 challenge

#4

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.

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 challenge

#5
post #4

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.

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 th…

Does the server not respect `Connection: keep-alive` ?

Re: Vindinium is an Artificial Intelligence programming challenge

#7

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.

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.
Post reply on HN