Solution: disable time limit for battles.
Solution: use one unit to attack the hoplites, then swing the wings of your phalanx inwards to attack the enemy's main line on the flanks. I hope you have cavalry to be the hammer. His centre will be 'embarrassed' by the hoplites standing in front, so they will be unable to do more than add to the weight in the centre, which your phalangites can undoubtedly withstand.
Bookmarks