r/howdidtheycodeit • u/dechiller • Dec 01 '21
How did they create the enemy ai for age of empires?
I've been wondering this for quite awhile. I don't mean the ai for a specific unit but really the ai of the opposing ai player.
For example, how does it decide to attack? Or what units to create or where to build something? It knows to put farms near a town center... How? So many questions!!


