I'm playing H/H and the AI behaved weirdly in one battle. I deployed in a very long line, but I forgot I had a unit of pikemen which was placed near the middle of the line when I ended deployment. The AI outnumbered me, but what it decided to was concentrate its attention on my unit of pikemen. Fair enough, but they decided to send most of its units into melee against my pike wall which they were obviously unable to break. My units quickly lined up in a square around the enemy and they were killed off pretty quickly from the fire from all directions.