It seems to me that phalanxes in the game are extremely weak when attacked from behind. A charge of infantry or cavalry into the rear, or even a volley of pila can easily rout a decent phalanx in a matter of seconds with very minimal causalties. It seems very unreal that they wouldn't even put up the slightest resistance.