Yes, yes they do get beaten by hoplite's heads-up. However, it is the strength of the Roman
formation that eventually allowed them to conquer their enemies in battle. The formation is called
triplex acies or "triple line." If you look at that wiki article, you'll see some illustrations of it. Simplistically broken down into steps:
- Velites attack the enemy, who send out their own skirmishers to fight.
- Velites retreat behind the Hastati who charge at the enemy, tossing their pilum before engaging.
- The Hastati fatigue and the commander orders his Principes into battle, once these engage the Hastati can now safely retreat.
- The Principes fatigue (usually this didn't happen and Rome won the battle by this point) and retreat behind the line of Triarii.
- The Triarii face a now extremely tired and battle-worn enemy and typically win.
- The Equites have been covering the flanks the entire time and will run down the defeated.
That's a very general and idealized description of Roman battles, which ofc had to adapt to all sorts of battlefield variables.
Historically battles of legion vs phalanx were very drawn out, bloody affairs. The hoplite phalanx is a very powerful formation. In the game, as in life, you want to attack a hoplite phalanx in the flanks/rear.
Maybe I should make a Rome tutorial with screenshots vs varying factions. Rome's adaptability was one of her greatest strengths.