There are 4 groups of armies according to their own attack type, each group has 2-3 different levels.
2.Archery: archery ,archery rider
3.Magic : Attack magician , healing magician
4.Throw: throw stone , fire stone, cannon
Each sprite has its own health, attack type, range &power , defense( to melee, magic ,throw) ,moving speed.
When they meet each other, they attack enemies or heal friends depends on their own preset.
Just like the sprites move and attack in the game .