One example of a sport that involves a ball is Basketball.
broom ball and also wall ball
this is just called 'sport', or by its particular name (athletism, etc..). When a sport involves a ball, it can be called 'un sport de ballon' or 'un sport collectif'
55%
The sport that involves goalposts is football.
It involves running, often at high speed with frequent direction changes and kicking the ball.
Two sports are baseball and sailing.
Soccer, tennis, hockey, golf
hacky sack
A sport is generally considered something that involves action and skill. Basketball involves running up and down the court while making crucial decisions on how to score, whether it be to pass the ball to a teammate for a good shot or to drive in for a layup.
Rugby Football
Pickle ball Squash
Bocce ball is NOT an Olympic sport, sadly.