Archive for the ‘games’ Category

The road to javascript

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 [...]

Games with extensible AI

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 [...]

Fight the machine at NYT

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 [...]

Tracking down the enemy (2)

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, [...]

Solving the game Set®

Recently a friend of mine introduced me to a game called Set. Set is a logic cards game for several players; 3-5 players is probably best, but in there is no limit in principle, and it is also fun to play as a solitary. The game contains a deck of cards with symbols varying across [...]