Skip to content
SimonPrins edited this page Oct 13, 2015 · 9 revisions

Tyr

Tyr is an AI that plays StarCraft: Brood War. It is developed in Java by Simon Prins. It is currently built to play as Terran. It mostly uses mech. It sometimes sticks to bio and it will occasionally go for Battlecruisers. It controls individual units through Agents. It also has a system for managing groups of units. It can perform multiple different strategies. These are defined as BuildOrder classes.

Structure of the program

The program is divided up into the following parts:

Build orders

The BuildOrders can be found in the Builds folder. These classes describe a build order for the bot. Apart from describing what buildings the bot should build, this also manages some things that can be different per build. For instance it can determine how many workers will mine gas per refinery, or when a scouting worker will be sent out.

More information: Build Orders

Agents

Agents and the related classes can be found in the Agents folder. These classes are used to control single units. Agents can define their own behaviour, but they can also be issued Commands.

More information: Agents

Unit Groups

The UnitGroup classes can be found in the UnitGroups folder. These UnitGroups manage certain groups of units. They each have a list of all agents that they control.

More information: Unit Groups

Management classes

In the src folder a number of management classes, each with different tasks, can be found.

More information: Management Classes

Clone this wiki locally