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 · Practiced Mastery
Superhero sequel adding melee combat and a karma-split power arsenal in New Marais.

Execution · Practiced Mastery
Two Spider-Men, faster traversal, and deeper combo systems.
inFamous 2 leans Execution (Practiced Mastery); Marvel's Spider-Man 2 leans Execution (Practiced Mastery).
Marvel's Spider-Man 2 leans a little harder on execution, though the gap is small.
inFamous 2
Faster combat with melee and aimed powers
Marvel's Spider-Man 2
Symbiote and dual-hero combat demands inputs.
Marvel's Spider-Man 2 leans a little harder on reads, though the gap is small.
inFamous 2
Scripted enemy factions, no adaptation
Marvel's Spider-Man 2
Enemies scripted, not modeling player.
Same score on variance - which means the number cannot separate them. The difference is in what each one asks of you.
inFamous 2
Static world, fixed encounters
Marvel's Spider-Man 2
Light open-world randomness.
Same score on optimization - which means the number cannot separate them. The difference is in what each one asks of you.
inFamous 2
Karma-gated power trees shape the run
Marvel's Spider-Man 2
Expanded skill trees and gadget combos solvable.
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.