Team Giannis’s Stephen Curry, of the Golden State Warriors, celebrates his three-point shot against Team LeBron during the NBA All-Star basketball game on Sunday. Three-pointers have helped drive up the scores of most NBA games. (Chuck Burton/AP)

Team LeBron (James) beat Team Giannis (Antetokounmpo) in the National Basketball Association (NBA) All-Star Game on Sunday, 178-164.

It’s not surprising that the game was so high scoring. The all-stars are 26 of the most talented offensive players in the world. And the game was just an exhibition that doesn’t count in the standings, so the players did not play much defense.

But this NBA season has seen lots of scoring. Just look at the numbers. Five teams are averaging more than 115 points per game. Each team — from the highflying Golden State Warriors to the stuck-in-the-mud Memphis Grizzlies — is averaging at least 100 points per game.

Why so much scoring? There are a couple reasons.

The first reason is simple: the three-pointer. The three-point shot was introduced to the NBA in the 1979-1980 season after it had been used in some earlier professional leagues. Most teams, however, did not shoot many three-pointers. For example, in the 1980 NBA Finals, the Los Angeles Lakers and Philadelphia 76ers attempted 20 three-pointers during the entire six-game series and made only one!

Now, the three-point shot has taken over the NBA. Twenty of the league’s 30 teams are averaging more than 30 attempts a game. The Houston Rockets, led by the unstoppable James Harden, are shooting more three-pointers than two-pointers this season.

All those three-point shots add up. NBA teams are averaging about 11 three-point baskets each game. That means around 22 extra points are scored each game.

The second reason is NBA teams, like all sports teams, imitate success. The most successful team in recent years has been the Golden State Warriors. They have won three of the last four NBA championships and are favored to win another this season.

How do the Warriors do it? They pass the ball and shoot lots of three-pointers.

Of course, they have some great shooters such as Stephen Curry, Kevin Durant and Klay Thompson. But they aren’t just shooters. As Golden State coach Steve Kerr once observed, “What I love most about our star players is they really love to share the ball.”

There have been other times when NBA games have been high scoring. In the 1961-1962 season, four of the nine NBA teams — there were only nine at that time — averaged more than 120 points per game. And that was without any three-point shots.

How did they do it? The champion Boston Celtics averaged almost 114 shots per game (these days NBA teams take about 88 shots a game).

But in today’s game, teams try to get the most points out of each shot. So whichever team wins the NBA title this season will have to take a lot of three-point shots . . . and score a lot of points.