Defcon API Bots

This page lists all the bots available for download and play. Please see the main project page for infos on what else you need to play with these.

Introversion Original Bot

Download: Introversion AI v0.9

This bot is modelled after the original bot included in Defcon. The source-code is included, too, so this might be a good starting point to create a customized bot.

The source code has been changed from the original to fit it to the API and to adjust it to libraries that it cannot access from outside Defcon easily. I tried to keep the source-code as readable as possible, and most of it should be pretty self-explanatory.

Empty Bot Framework

The framework is included in the zip-file that contains the bot-enabled version of Defcon. Download it from the main project page.

This is pretty much a minimal working example of a bot, that includes all the necessary code to get you running.

Lua Interface by Peter Cawley

This bot, currently listed as in version 0.2, was written by Peter Cawley. He has also created an good documentation of his bot, which highlights the differences to the C + + version and explains how lua scripts should be used.

Documentation: http://www.corsix.org/defcon_luabot/documentation.html

Download (includes source and DLL) of version 0.2 (please also check the installation section of the docs how to install and if a newer version is available): http://www.corsix.org/defcon_luabot/version-0.2.zip?no_ref

Java Interface

Download: Java Interface v0.9

A simple java interface to DEFCON using the Java Native Interface. The java version uses the same functions and enums as the original C + + implementation, thus the existing documentation can be used. You might have to add the path to jvm.dll to your Windows Path variable, e.g., to “C:\Program Files\Java\jre6\bin\client”.