I'm curious as to what the best what the best way to deal with an AI's ranged units when attacking or defending particularly when they seemed to spammed a lot of them be they archers, crossbowman, or cannons. Thanks in advance for the tips/help. =)
3 archers and 8 swords coming for you?
You are toast!
Well, almost, so in your defense you should have at least 3 warriors, 1 archer and 3 horsemen.
Horses run around killing pesty archers, your warriors fortified on hills basically kills enemy swords.
Then with town-defense, they are dead.
Horses in this iteration are basically - horsemeat. They die easily, but also inflict nice damage to their foe.
Personally, I'd rather have 3 archers and one warrior; warriors have to heal too long after one (feeble) attack and you have to waste several turns moving them to someplace safe where they can actually heal, and it's better to have an archer garrisoned in your city, inflicting damage, than a healing warrior.