Patches have improved it quite a bit. They'll still make some tactical mistakes in battle, but a human can always outsmart an AI in combat. They generally don't make game breaking mistakes (worse case, they'll lose a catapult, not their army). But they're pretty good at defense these days and are capable at offensive attacks to take cities. The rest of the AI was good for the most part and still is.