head to head
Neither is meaningfully harder - they pose close to the same test. The widest gap is execution, and it is a single point.

Execution · Pure Mechanics
Landmark FPS built on physics puzzles and tight gunplay.

Execution · Pure Mechanics
Holding clean lines at speed through traffic on memorisable point-to-point roads.
Half-Life 2 leans Execution (Pure Mechanics); The Need for Speed leans Execution (Pure Mechanics).
The Need for Speed leans a little harder on execution, though the gap is small.
Half-Life 2
Gravity gun and shooting demand precision.
The Need for Speed
Holding racing lines at speed through traffic is the test
Same score on reads - which means the number cannot separate them. The difference is in what each one asks of you.
Half-Life 2
Combine AI scripted, non-adaptive.
The Need for Speed
AI rivals and police follow fixed behaviour
The Need for Speed leans a little harder on variance, though the gap is small.
Half-Life 2
Almost no randomness.
The Need for Speed
Traffic patterns add mild run-to-run noise
Same score on optimization - which means the number cannot separate them. The difference is in what each one asks of you.
Half-Life 2
Linear progression with no builds.
The Need for Speed
Track knowledge and car choice settle quickly
A matching score does not mean a matching test. Two games can both sit at 10 on execution and demand completely different things of you - which is why the reasoning above matters more than the number beside it.