Page 1 of 2

Google AI Challenge 2011

Posted: Wed Oct 19, 2011 4:06 pm
by Gian-Carlo Pascutto

Re: Google AI Challenge 2011

Posted: Wed Oct 19, 2011 8:26 pm
by Don
Gian-Carlo Pascutto wrote:http://aichallenge.org/
Looks like a lot of fun!

Re: Google AI Challenge 2011

Posted: Thu Oct 20, 2011 4:26 am
by Kirill Kryukov
Already almost 700 participants, even before the official start. I bet this year the total number will exceed the last year's 4617.

Re: Google AI Challenge 2011

Posted: Tue Oct 25, 2011 10:34 pm
by Daniel Shawul
I experimented a bit with a bot derived from java starter package. It seems that the AI is dominated by path finding (Djkistra & A*) , despite my expectation that I would be able to use some multi-player algorithms. I don't think a regular turn-based depth first search is applicable here at all since the map is usually too big with many ants. Also I don't think speed of program matters that much (I maybe wrong). What language and algorithms do you use ?

There is a similar effort at stanford (for general games) http://games.stanford.edu/ that also provide starter packages. The games are provided at run time in declarative programming such as PROLOG. It requires a lot of effort to get up a random mover so they also provide starter packages in java. You can start coding alpha-beta right away. I am a bit hesitant to use the starter packages for one I want to learn declarative languages. The packages does too much for you it is like having Houndini as starter package for chess ;)

Re: Google AI Challenge 2011

Posted: Thu Oct 27, 2011 7:39 pm
by Gian-Carlo Pascutto
Daniel Shawul wrote:I experimented a bit with a bot derived from java starter package. It seems that the AI is dominated by path finding (Djkistra & A*) , despite my expectation that I would be able to use some multi-player algorithms. I don't think a regular turn-based depth first search is applicable here at all since the map is usually too big with many ants. Also I don't think speed of program matters that much (I maybe wrong). What language and algorithms do you use ?
I'm writing mine in CoffeeScript, if only to learn that language and JavaScript. I was hoping to get something close to Python but with reasonable speed, but that's not really the case (it's quite a lot slower than C/C++ and not as good as Python :-)).

Game tree search on individual ants is not going to be possible. Maybe with grouping? I don't know yet.

Re: Google AI Challenge 2011

Posted: Fri Nov 11, 2011 5:33 pm
by sedicla
I'm using C. Using the path finding a*, and the strategy is basically defend my hill, attack enemy hills and look for food. The rest of ants I make them move straight then around obstacles.

Also when finding an enemy I check if i will die if I move, in this case I move back.

I'm using C. It is interesting to participate in this, as a break on the chess engine programming. Challenging but fun!

http://aichallenge.org/profile.php?user=4929

Re: Google AI Challenge 2011

Posted: Sun Nov 13, 2011 2:33 pm
by Edsel Apostol
Daniel Shawul wrote:I experimented a bit with a bot derived from java starter package. It seems that the AI is dominated by path finding (Djkistra & A*) , despite my expectation that I would be able to use some multi-player algorithms. I don't think a regular turn-based depth first search is applicable here at all since the map is usually too big with many ants. Also I don't think speed of program matters that much (I maybe wrong). What language and algorithms do you use ?
I'm using C and Collaborative Diffusion. I've tried A* but it is expensive computation-wise for every ant and storing the path for the succeeding turns introduces complexity.

Re: Google AI Challenge 2011

Posted: Mon Nov 14, 2011 6:07 am
by Ron Murawski
Gian-Carlo Pascutto wrote: I was hoping to get something close to Python but with reasonable speed
Perhaps Genie is what you're looking for. It's a language that resembles Python and transpiles into C code. It's about the speed of C++.
http://live.gnome.org/Genie/
You will need to download the Vala compiler from here
http://live.gnome.org/Vala/
or from here
http://code.google.com/p/vala-win32/downloads/list

Re: Google AI Challenge 2011

Posted: Mon Nov 14, 2011 8:49 pm
by diep
What is the first prize?

Re: Google AI Challenge 2011

Posted: Mon Nov 14, 2011 8:57 pm
by diep
Daniel Shawul wrote:I experimented a bit with a bot derived from java starter package. It seems that the AI is dominated by path finding (Djkistra & A*) , despite my expectation that I would be able to use some multi-player algorithms. I don't think a regular turn-based depth first search is applicable here at all since the map is usually too big with many ants. Also I don't think speed of program matters that much (I maybe wrong). What language and algorithms do you use ?

There is a similar effort at stanford (for general games) http://games.stanford.edu/ that also provide starter packages. The games are provided at run time in declarative programming such as PROLOG. It requires a lot of effort to get up a random mover so they also provide starter packages in java. You can start coding alpha-beta right away. I am a bit hesitant to use the starter packages for one I want to learn declarative languages. The packages does too much for you it is like having Houndini as starter package for chess ;)
the problem is comparable from evaluation viewpoint with international checkers. We programmed a base there. So for example advancing with just 1 stone is not so clever, you want to do it the 'napoleontic' manner and advance with entire base. You can use distance based heuristics there and when your base is dominating a lot of terrain that's a winning advantage.

You're no longer busy then with individual ants, just evaluating how far the base is. Only extensions needed for short term victories, they can however never dominate the search.

Advancing the base you can see as medieval warfare quite litterary.

So from strategic viewpoint this game is not so interesting as tactics from hundreds of years ago are interesting where in modern warfare things advanced a tad...