LOS ANGELES — Jason Collins played his first game with the Brooklyn Nets on Sunday night, becoming the first openly gay active player in the four major U.S. professional sports leagues, and Deron Williams had a season-high 30 points along with seven assists in a 108-102 victory over the Los Angeles Lakers.

Collins was signed to a 10-day contract Sunday, nearly 10 months after his announcement on April 29 in Sports Illustrated. He played 10 scoreless minutes with two rebounds and five fouls.

“Right now I’m focusing on trying to learn the plays, learning the coverages and the game plan and the assignments. So I didn’t have time to really think about history,” Collins said at a crowded news conference less than an hour before the game.

Collins, who checked into the game with 10:28 left in the second quarter, received a polite ovation.

Nets general manager Billy King and coach Jason Kidd also went out of their way to downplay talk that Collins’ signing was for publicity. Both said it was about making the Nets a better team.

Rockets 115, Suns 112: In Phoenix, Patrick Beverley sank the go-ahead three-pointer with 34.3 seconds to play for the Houston Rockets.

Dwight Howard scored 25, James Harden 23 and Beverley 20 for the Rockets, who trailed by 10 entering the fourth quarter.

Goran Dragic scored a career-high 35 for the Suns, but missed what would have been the game-tying three at the buzzer.

Heat 93, Bulls 79: In Miami, with LeBron James watching from the bench in a suit and tie, Chris Bosh and Dwyane Wade powered the Miami Heat past the Chicago Bulls. James was a late scratch after he broke his nose in Thursday’s win at Oklahoma City.

Clippers 125, Thunder 117: In Oklahoma City, Jamal Crawford scored 36 points to help the Clippers get the win.

Wizards 96, Cavaliers 83: In Cleveland, John Wall scored 21 points and Bradley Beal had 17, leading Washington to the road victory..

Raptors 105, Magic 90: In Toronto, Kyle Lowry scored 28 points, DeMar DeRozan had 24 and the Raptors handed the Magic their 15th straight road loss.

Kings 109, Nuggets 95: In Denver, Isaiah Thomas scored 33 points, Rudy Gay had 32 and Sacramento earned its first win in Denver in six years. DeMarcus Cousins added 27 points for the Kings, who snapped a nine-game losing streak to the Nuggets at the Pepsi Center. 

Trail Blazers 108, Timberwolves 97: In Portland, Ore., Damian Lillard had 32 points and the short-handed Portland Trail Blazers rallied to beat Minnesota.