BWAPI
An API for interacting with Starcraft: Brood War (1.16.1)
... users cannot take control of game units while the AI is in play. These default settings can be changed for flexibility however, unless enforced by a Tournament Module (game referee for AI tournaments).