Defcon AI API

Robin Baumgarten developed an Artificial Intelligence API for Introversion's game DEFCON in 2009. DEFCON is a minimalist RTS game about nuclear war. This page contains information about the API, hints, Q&A, a tutorial and example implementations.

Requirements

I've heard of a successful installation under Linux using wine-1.0.1 and winetricks.

Download and Installation

You'll need:

  1. Download and install the Windows demo version of DEFCON
  2. 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)
  3. Run Defcon.exe

Documentation

Here are some documents to get you started with the API.

More information and some usability hints can be found on the documentation page.

Bots and Interfaces

Bots and interfaces to Java and LUA are listed on their own page, here.

Links