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

Optimization · Pure Optimization
The portal-gun puzzle game whose solutions are everything.

Optimization · Pure Optimization
A polished co-op puzzle-platformer of physics contraptions and hero-ability combos.
Portal leans Optimization (Pure Optimization); Trine 4: The Nightmare Prince leans Optimization (Pure Optimization).
Same score on execution - which means the number cannot separate them. The difference is in what each one asks of you.
Portal
Portal placement timing modest.
Trine 4: The Nightmare Prince
Platforming and physics manipulation need steady hands
Same score on reads - which means the number cannot separate them. The difference is in what each one asks of you.
Portal
No adversary modeling player.
Trine 4: The Nightmare Prince
Scripted bosses and puzzles, nothing adapts
Trine 4: The Nightmare Prince leans a little harder on variance, though the gap is small.
Portal
Deterministic chambers; no randomness.
Trine 4: The Nightmare Prince
Deterministic levels with no hidden information
Portal leans a little harder on optimization, though the gap is small.
Portal
Pure puzzle-solving optimization.
Trine 4: The Nightmare Prince
Combining three heroes' tools solves every puzzle
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.