A football player runs the ball from the 20-yard line on one side of the field to the 20-yard line on the other side. How many yards did the player run?

The player ran a total distance of 20 + 20 = <<20+20=40>>40 yards. Answer: \boxed{40}.