Skip to content

Anarchid/zkgbai

Repository files navigation

zkgbai

zkgbai

This is the "Zero-K Graph-Based AI", built upon the SpringRTS Java AI interface to play the Zero-K RTS.

It uses a static graph derived from resource points on the game map as a major part in its decisions.

Compiling

The git repository contains everything necessary to build the AI except for the ant build tool and the JDK.

Spring now requires JDK8 for javaAIs, 32bit for windows and 64bit for linux. (previously was JDK7)

To compile the AI using only ant, simply cd to your checkout folder, and run ant dist.

Alternatively, you can import the Eclipse .project file.

Installing

To install the AI, put the files from created /dist/ directory to $SpringData/AI/Skirmish/ZKGBAI/dist.

An example location on linux would be /home/user/.spring/AI/Skirmish/ZKGBAI/dist

Alternatively, you can modify the build property installDir to automate this, and just use ant install instead.

After this, any Spring lobby capable of using local AI's will be able to use this bot.