AI in a strategy game can easily become a second game hidden inside the first one. That is dangerous.
If the AI has its own movement rules, its own production shortcuts, its own visibility model, or its own private way of mutating state, then every new feature has to be implemented twice: once for the player and once for the AI. Worse, bugs become harder to reason about because the AI is no longer playing the same game.
In Age of New Worlds, I want the AI to use the same language as the player. That language is commands.
(more…)