International Journal of Computer Games Technology / 2015 / Article / Alg 17

Research Article

Artificial Intelligence in Video Games: Towards a Unified Framework

Algorithm 17

Conceptual view code in the onStart callback function. Map dimensions in BW are given in build tiles, each build tile representing a 32 by 32 area.
void  GravenAIModule::onStart()
{
 //Create 2D world
cptWorld =  new  CptWorld2D();
 //Add an empty map
cptWorld->pSetMap(new  CptMap2D());
 //Set map dimensions
cptWorld->GetMap()->pSetSizeX(Broodwar->mapWidth()    32);
cptWorld->GetMap()->pSetSizeY(Broodwar->mapHeight()    32);
}

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.