#wota - War of the Ants Wota, the War of the Ants, is a multiplayer game played by writing an artificial intelligence (AI) controlling an ant colony. That said, watching games while developing your AI or together with other AI authors is a big part of the fun!
##Download release https://github.com/wotateam/wota/releases/tag/v0.3
or press the right-hand side button on the repository's front page to download HEAD if you are feeling adventurous.
##Installation guide
-
Extract the .zip into your eclipse workspace.
-
Rename the folder into "wota".
-
In eclipse: File -> New -> Java project.
Set the project name to "wota".
Click on 'finish' (eclipse should say that it will import the project settings) -
Run as a Java application. The main method is located in src/wota/Wota.java , opening this file and clicking the green run button should create the appropriate Eclipse run configuration.
-
To start writing your AI, create a folder with the name of your AI in src/wota/ai/ .
-
Copy src/wota/ai/template/TemplateAI.java, HillAI.java to this folder.
You must not rename HillAI, you may rename TemplateAI and probably want to do so.
-
Write your AI in these files. Change the package name inside the files to wota.ai.FOLDER_NAME
-
Add your AIs to the game by editing settings.txt. The AIs are referenced by their package name.
-
Some information can be found inside the template classes you copied in step 6.
##Further Information A brief tutorial as well as the rules of the game can be found in the wiki.
https://github.com/wotateam/wota/wiki/
Have fun! If you have any questions, comments, suggestions or want to share your AI, don't hesitate to contact us by writing an email or by creating an issue!