Online Mancala game

Hi everybody,
As a week end project I did an online Mancala game. After doing it I thought it would be worth sharing the code.
It’s short and simple, so could be used by beginners to see how a bot and an online game can be done. It can also be used as a start point toward something more interesting. All the sources are available, commented, and there is a little doc. The bot uses simulation, minimax and a simple evaluation function; the interface is a webpage with design made with pov-ray and animated with javascript; the interface interacts with the bot and a mysql database (to store some statistics) through http requests.
You can play the game and download the doc and files here : http://www.bayashiinjapan.net/A.I.ware/
Hoping it will be useful to someone; if not, sorry to disturb. In both case your comments will be appreciated.