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

Execution · Competitive PvP
Shot-timing execution and play-reading against human defensive schemes.

Execution · Competitive PvP
Class-based team shooter with deep mind games.
NBA 2K18 leans Execution (Competitive PvP); Team Fortress 2 leans Execution (Competitive PvP).
Same score on execution - which means the number cannot separate them. The difference is in what each one asks of you.
NBA 2K18
Shot timing and stick handles decide possessions
Team Fortress 2
Projectile aim and rocket jumps reward hands
Team Fortress 2 leans a little harder on reads, though the gap is small.
NBA 2K18
Online, baiting defenders and reading schemes is constant
Team Fortress 2
Spy/sniper duels are pure prediction
Same score on variance - which means the number cannot separate them. The difference is in what each one asks of you.
NBA 2K18
Shot RNG and physics bounces add measured noise
Team Fortress 2
Random crits and spread inject RNG
Same score on optimization - which means the number cannot separate them. The difference is in what each one asks of you.
NBA 2K18
Roster builds, playbooks and matchup hunting reward study
Team Fortress 2
Class loadouts and map routes 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.