about
dmangame is about writing an AI to play a simplified Realtime Strategy Game. There is no ‘playing’ done by humans, the game is played by various AI. Each AI controls a team of units that it is able to communicate with. The AI’s objective is to crush its enemies and hear the lamentation of their pixels.
Your objective is to code this AI.
pics or stfu
Here’s an example game (saved using the -o option).
The little moving dots inside transparent circles are units. The circle is the unit’s field of vision. The line behind the unit is its path from their location on the previous turn. Sometimes they shoot bullets (the slightly thinner line) towards other units.
The stationary black outlined dots are buildings. Notice how buildings spawn units at the same time.
gimme
You can find the latest version of the source code on github.
git clone git://github.com/dmangame/dmangame.git
dependencies
required:
python 2.x
optional:
If using graphics, pygtk (which should include cairo).
If posting to app engine, pyyaml