To the cheers of the crowd, a man on the basketball court threw the ball into the basket and then scored.