Posted on November 11, 2011, 3:38 am, by admin.
It’s that time of the year again… the word spreads, I download it, and my nights fly by. It’s time for the new Google AI Challenge: http://aichallenge.org/ ! This time we will be writing multi-agent systems, as we program cyber-ant-colonies fighting against each other for bread crumbs.
Posted on June 29, 2011, 8:06 am, by admin.
I wanted to learn javascript and wrote a small game with an old school look using textareas, that I’m glad to share: Writing javascript is quite intuitive for a Python developer, even though I’m sure that there are many idioms and tricks that I did not know about (and the code I wrote is the [...]
Posted on June 4, 2011, 7:01 pm, by admin.
Some computer games offer the possibility to extend their Artificial Intelligence with external scripts, or are explicitly designed to be played by bots. Such games are a great resource to develop, test, and teach AI algorithms. I have been looking for a list of this kind of games, but could find very little information, often [...]
Posted on March 5, 2011, 5:41 pm, by admin.
Perhaps inspired by the victory of the artificial brain Watson against humanity, the New York Times is offering today an interactive feature that allows to play a series of Rock-Paper-Scissors games against the computer. The prediction algorithm seems to be a simple Bayesian estimator like the one I implemented for the Karate A.I. game. The [...]
Posted on March 3, 2011, 12:31 pm, by admin.
If you’re interested in learning more about scientific programming in Python, and want to compete in a Pacman capture-the-flag tournament, join us for the next Advanced Scientific Programming in Python summer school in St. Andrew, UK! The faculty line-up includes developers of well-known scientific libraries for Python (e.g., Francesc Alted of PyTables fame). The program [...]
Posted on January 21, 2011, 6:39 pm, by admin.
I never got the chance to show a working agent based on the Bayesian estimator for the enemy position in the PacMan capture-the-flag game. In the previous PacMan post, I wrote about merging a model of agent movements with the noisy measurements returned by the game to track the enemy agents across the maze. Clearly, [...]
Posted on September 14, 2010, 4:09 pm, by admin.
The Computer Science of the University of Waterloo is organizing its second Google AI Challenge. The challenge is a competition between computer programs that control the artificial intelligence of the players in a video game. This time, the game is set in space, and features a symmetric configuration of planets, each containing a fleet of [...]
Posted on August 1, 2010, 11:53 am, by admin.
I set up a github repository for the source code and other material published here. It’s a much more convenient way to share source code than uploading archive files. You can find it at http://github.com/pberkes/masterbaboon . Enjoy!
Posted on September 12, 2009, 8:52 am, by admin.
In the previous two posts I showed how to make use of decision theory to write a game AI that forms a model of its opponent and adapts its strategy accordingly. The AI could be improved in several ways: The most obvious improvement would be to build a better model of the opponent. In the [...]
Posted on February 21, 2009, 5:29 pm, by admin.
Did you ever need to sample from a Dirichlet distribution in Actionscript 3.0? What about computing a value of the Gamma function? Probably not In case you did, I wrote a class with a few math methods: a function to sample from multinomial distributions; this is useful if you need to choose randomly from a [...]