PlanetWars Google AI contest Java engine
Copyright: [Owners of the AI Challenge project] (http://code.google.com/p/ai-contest/)
License: Apache License 2.0
This is the source of the Engine and the Visualizer of the 2010 Google AI Challenge, PlanetWars. It facilitates customized versions of the PlayGame.jar (engine) and ShowGame.jar (visualizer) jars. For more information, please visit the official site and the source host at Google Code.
After cloning, start Eclipse and create and configure a new project.
- Go to File, New, Java Project.
- In the New Java Project dialog, choose your preferred name for the project, untick 'Use default location' and type in/browse the directory where you clonned the repository.
- Click Finish.
The source comes with a Makefile with the compilation dependencies, so we have to change the build method in Eclipse.
- Right click on the project main folder, Properties.
- Select Builders in the left list.
- Untick 'Java Builder' in the builders list, click Ok to confirm disabling the default builder.
- Click New.
- In the 'Choose configuration type' dialog, select Program in the list and click OK.
- In the 'Edit configuration' dialog, type a convenient name for the custom builder (e.g. 'make'), and type the absolute path to your distribution binary for make (typically /usr/bin/make).
- Set the working directory by clicking Browse Workspace and selecting the folder of the project from the list.
- In the arguments box, type 'all'.
- Click OK in the Edit Configuration dialog.
- Click OK in the Properties dialog.
Now the project can be built by selecting Project, Build Project in the menu bar. The customized PlayGame.jar and ShowGame.jar will be generated.
Comming soon
- Java SDK >= 1.6