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.
Re:Vindinium is an Artificial Intelligence programming chall... by protomyth on Wednesday May 18, 2016 @10:09AM (#11722029)
"When a player defeats a goblin, he becomes owner of the gold mine and receives one gold per turn. Furthermore, the goblin now defends the mine against other players."

Are we sure we are not the baddies? https://www.youtube.com/watch?v=hn1VxaMEjRU

Re:Vindinium is an Artificial Intelligence programming chall... by lithander on Wednesday May 18, 2016 @07:55AM (#11721251)
Going to write a simple bot when I'm home from work. Who else?
Re:Vindinium is an Artificial Intelligence programming chall... by LoneWolf on Wednesday May 18, 2016 @09:12AM (#11721640)
I will
Re:Vindinium is an Artificial Intelligence programming chall... by protomyth on Wednesday May 18, 2016 @10:11AM (#11722051)
How long is this going to run?
Re:Vindinium is an Artificial Intelligence programming chall... by LoneWolf on Wednesday May 18, 2016 @11:08AM (#11722485)
I have no idea
Re:Vindinium is an Artificial Intelligence programming chall... by Derpdiherp on Wednesday May 18, 2016 @11:29AM (#11722627)
"You are welcome to run several instances of your bots at the same time, and more generally to use any measure you see fit to achieve leaderboard domination. Fight!"

Couldn't this be cheesed pretty easily by flooding them with bots working in tandem - pushing to have the highest scoring ones win when they're pitted against each other.

Re:Vindinium is an Artificial Intelligence programming chall... by livingparadox on Wednesday May 18, 2016 @12:27PM (#11723092)
If it works the way I expect it to, I think all it would do is push the whole group of tandem bots down. The cheesing wouldn't make them score better against other user's bots.
Re:Vindinium is an Artificial Intelligence programming chall... by leni536 on Wednesday May 18, 2016 @09:27AM (#11721729)
I wonder if it would be a good idea to write a client to enable human players.
Re:Vindinium is an Artificial Intelligence programming chall... by brudgers on Wednesday May 18, 2016 @12:41PM (#11723225)
Re:Vindinium is an Artificial Intelligence programming chall... by isseu on Wednesday May 18, 2016 @05:13AM (#11720669)
Try to play with the Ruby started, got 404