====== Defcon AI API ====== I have developed an Artificial Intelligence API for [[http://www.introversion.co.uk|Introversions]] game [[http://www.introversion.co.uk/defcon/|DEFCON]]. In case you don't know it, DEFCON is a RTS game about nuclear war. This page contains information about the API, such as hints, Q&A, a tutorial, example implementations, the manual, and all links to press releases and articles about it. ===== DEFCON Competition! ===== At the IEEE Symposium on Computational Intelligence and Games 2009 in Milano there was a competition to determine the best DEFCON bot. Deadline was the 23rd of August 2009, 23:59. ===== Requirements ===== * Windows (or the ability to run the Windows version of DEFCON) * To develop bots: Visual Studio 2008 (Express Edition available [[http://www.microsoft.com/express/vc/|here]]) * Possibly you also need the [[http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en|Microsoft Visual C++ runtime components]] if you do not have Visual Studio installed. I've heard of a successful installation under Linux using wine-1.0.1 and [[http://wiki.winehq.org/winetricks|winetricks]]. ===== Download and Installation ===== You'll need: * Windows demo: [[http://www.introversion.co.uk/defcon/]] * Bot-enabled Defcon executable and framework: {{:projects:defcon_ai_api_v157.zip|DEFCON AI API, version 1.57}} **(Updated 9th August 2009)** - Download and install the Windows demo version of DEFCON - Download the bot-enabled executable and unzip the contents of the file into the directory where you installed the demo, overwriting the original defcon.exe (you can make a backup of that) - Run Defcon.exe ===== Documentation ===== Here are some documents to get you started with the API. * {{:projects:defcon_ai_api_-_quickstart_and_documentation_v1.pdf|DEFCON AI API - Quickstart and Documentation (v1)}} *{{:projects:defcon_ai_api_-_function_list_v1.pdf|DEFCON AI API - Function List (v1)}} * {{:projects:defcon_ai_api_-_constants_and_tables_v1.pdf|DEFCON AI API - Constants and Tables (v1)}} More information and some usability hints can be found on the [[:projects:api:documentation|documentation page]]. ===== Bots and Interfaces ===== Bots and interfaces to Java and LUA are listed on their own page, [[:projects:api:bots|here]]. ===== Links ===== * [[http://www.introversion.co.uk/defcon/bots/]]: This page is Introversions hub for all information concerning the bot. * [[uni:publications]]: A paper and my thesis on DEFCON bots. * [[http://aigamedev.com/essays/defcon-bots-api]]: Blog-post on the development process of the API * [[http://aipanic.com/ai-in-computer-games-a-threat/]]: An article I wrote on the threat of AIs in Games to take over the world. ===== Beta Builds ===== Information on beta builds can be found on [[:projects:api:beta|this page]]. ===== Contact ===== Please let me know if there's anything amiss, you'd like to see some features or if you've found a bug by shooting me an e-mail: robin.baumgarten06@doc.ic.ac.uk