tgittos / proxybotlib

.NET proxy bot for the Starcraft AI competition

Home Page:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


A library for connecting a .NET based bot to the Starcraft Brood War API Contains source for the BWAPI socket communication dll and the .NET proxy bot.

Created for use with the EIS Starcraft AI competition

Based on which is based on

Getting Started

This library is intended to aid an external, .NET based AI bot to connect to the BWAPI socket. To get started, create a new console application which will be the base for your AI agent. Add the ProxyBotLib project to the solution, and add to the console application a reference to ProxyBotLib. There is a sample agent in ProxyBotLib.Tests that you should move to the console application. Create an instance of the agent, and create an instance of the ProxyBot, passing the agent to the constructor of the ProxyBot.


public static void Main(System.String[] args)
    StarCraftAgent agent = new StarCraftAgent();
    ProxyBot proxyBot = new ProxyBot(agent);

    catch (SocketException e)
    catch (System.Exception e)


.NET proxy bot for the Starcraft AI competition


Language:C# 80.8%Language:C++ 19.2%