Using a Remote AI Process
Bot are allowed to communicate with a remote process, which performs the AI reasoning. There are several reasons for using a remote process:
- To prevent the onFrame method from hanging during computationally expensive tasks
- To write bot behavior in a language other than C++
- The bot code may interfere with other code in the StarCraft process space, crashing StarCraft
Agents are allowed to use a socket to communicate with an external process:
An example bot using this technique is available here.