To download the code, follow the instructions at WikiStart. You'll need the Subversion (SVN) version control tool. The StratagusAI project has two parts: the engine and the client. After you've downloaded the code, you'll find the engine code at
You can use the MSVC build file stratagus.2008.sln or the Makefile. To build on Ubuntu Unix:
sudo apt-get install liblua5.1-dev ./autogen.sh ./configure make depend && make
To play Wargus using the Stratagus engine you will need to get the game data from a WarCraft II CD and use the conversion tool to convert it to stratagus format. The conversion tool is "wartool", which can be compiled from the Stratagus source at https://launchpad.net/~stratagus, or installed in Ubuntu by following the instructions at https://launchpad.net/~stratagus/+archive/ppa.
The java client is at
You'll need the Maven build tool to build the java client.
There are some instructions on using the Java API at ClientLibrary.
You can also look at the gradient agent as an example of how to use the API. When you download StratagusAI, the policy gradient agent is at