BROOKLYN, NY — Brooklyn snapped a 13-game losing streak to Miami and overcame a furious Heat charge in the final three minutes for a 101-100 victory in their home opener. The score was tied 47-47 at halftime, but the Nets (1-1) began the second half on a 24-8 run to go up 71-55. Brooklyn still led 96-84 when Joe Johnson hit a three-pointer with 2:47 to go, but a 10-0 Miami run capped by a Mario Chalmers three-pointer with 18 seconds to play got the Heat (1-2) within two. Deron Williams hit one of two free throws with 18 seconds left, but Ray Allen could only make one of his two on the other end. Two free throws from Paul Pierce pushed the lead back to four, but LeBron James hit a 3-pointer with four seconds to play to cut it back to 99-98. Johnson hit two free throws to make it 101-98. Bosh answered with two of his own, but the Nets were able to run out the clock. Pierce and Johnson led the Nets with 19 points, and Brook Lopez added 13. James led all scorers with 26 points and Wade added 21. Bosh, Chalmers and Allen also finished in double figures, but Miami was out-rebounded 40-30. The NBA champions have started the season with two losses in their first three games. Rockets 113, Mavericks 105: James Harden scored a game-high 34 points and carried the Houston Rockets through an uneven performance to a 113-105 victory over the Dallas Mavericks. Harden ended his tug-of-war with Mavericks forward Dirk Nowitzki with 6:11 remaining, drawing a foul while converting a driving layup to send the foul-plagued Nowitzki to the bench once and for all. Nowitzki finished with 22 points but only four rebounds as the Rockets' interior tandem of Dwight Howard and Omer Asik controlled the glass. After totaling 40 rebounds against the Charlotte Bobcats on Wednesday, Howard and Asik snagged 28 boards against the Mavericks (1-1). Magic 110, Pelicans 90: Veteran Aaron Afflalo scored 30 points and Maurice Harkless had 20 as the Orlando Magic celebrated their home opener by burying the New Orleans Pelicans 110-90. The Magic led almost from start to finish for their first victory after two earlier losses. Bobcats 90, Cavaliers 84: Kemba Walker scored 23 points and hit a key three-pointer with 58.3 seconds left to give the Charlotte Bobcats a lead they held to record a 90-84 victory over the Cleveland Cavaliers. 76ers 109, Wizards 102: Thaddeus Young scored 29 points and Spencer Hawes had 16 points and 14 rebounds as the Philadelphia 76ers pulled off a 109-102 comeback win over the Washington Wizards. Bucks 105, Celtics 98: The Milwaukee Bucks, who were down 22 points in the first half, spoiled Boston's home opener by roaring from behind for a 105-98 victory that gave Larry Drew his first win as Milwaukee coach. Timberwolves 100, Thunder 81: Playing team defense and getting scoring up and down the lineup, the Minnesota Timberwolves beat up Oklahoma City 100-81 at Target Center. Hawks 102, Raptors 95: Al Horford had 22 points and 16 rebounds, Kyle Korver scored 17 on five three-pointers and Jeff Teague contributed 17 points and 12 assists in Atlanta's 102-95 victory over the Toronto Raptors. Grizzlies 111, Pistons 108 (OT): Detroit's inability to beat Western Conference teams on the road continued Friday as the Memphis Grizzlies defeated the Pistons 111-108 in overtime. Other results: Trail Blazers 113, Nuggets 98; Clippers 110, Kings 101; Suns 87, Jazz 84; Spurs 91, Lakers 85. — Reuters