The pikemen,even the best of them(the Swiss),cannot face alone a heavily armoured cavalry force.Historically,as far as I know, the pikemen were combined with ranged units armed with arcebusiers or muskets.It will be also wise to use swordsmen to protect the flanks and the rear of the phalanx.
Bookmarks