Ondrej Palat also scored for the Lightning, who took a one-point lead over Montreal for second place in the Atlantic Division. A runner-up finish would give Tampa Bay home-ice advantage in its first-round playoff series with the Canadiens.
Gudlevskis had played in the ECHL and AHL, and for Latvia in the Sochi Olympics this season.
STARS 3, BLUES 0
The Stars missed the postseason a franchise-record five straight seasons after never going more than one without a playoff trip since moving to Dallas in 1993.
St. Louis, outshot 40-22, dropped its fifth straight game for the first time since February of last year. The playoff-bound Blues also jeopardized their shot at the top seed in the Western Conference.
Dallas' victory eliminated Phoenix in the race for the West's final playoff spot and kept the Stars from having to worry about a potential win-or-go-home game at the Coyotes on Sunday.
ISLANDERS 3, DEVILS 2, SO
It hasn't been decided if the soon-to-be 42 year-old Brodeur will start the season finale against Boston at home on Sunday.
Brodeur, the NHL career leader in wins (687) and shutouts (124) in a 20-year career with New Jersey, is in the last season of his contract.
New Jersey has lost all 13 shootouts this season and has dropped an NHL-record 17 straight, dating to last season.
SHARKS 5, AVALANCHE 1
SAN JOSE, Calif. -- Marty Havlat scored three goals for the first time in nearly nine years, and San Jose prevented Colorado from clinching the Central Division title.
Patrick Bordeleau scored the lone goal for the Avalanche, who lost for the first time in regulation since March 21 against Boston. Colorado had gone 8-0-1 in its last nine games to move into a tie for first with St. Louis.
The Avalanche can win the division either by beating Anaheim on Sunday night in the regular-season finale or with a regulation loss by St. Louis earlier Sunday against Detroit.
Colorado needs the Ducks to lose Saturday in Los Angeles to have a chance of finishing in the top spot in the Western Conference.
San Jose is locked into the second seed in the Pacific Division and will open the playoffs at home next week against Los Angeles.
HURRICANES 2, RED WINGS 1
DETROIT -- Cam Ward had 28 saves, and Carolina ended a quarter-century of regular-season futility in Detroit with a win.
The Hurricanes hadn't won a regular-season game at Detroit since Nov. 14, 1989, when they were still the Hartford Whalers. They won Game 1 of the 2002 Stanley Cup finals at Detroit, but that was their only victory of that series.
Riley Sheahan scored for the Red Wings in the third period.
Detroit has already clinched its 23rd straight postseason berth, and the Hurricanes are out of the running. The Red Wings outshot Carolina 29-19.
The Carolina-Hartford franchise had 16 losses and a tie since its previous victory at Detroit in the regular season.
CAPITALS 4, BLACKHAWKS 0
WASHINGTON -- Alex Ovechkin scored his NHL-leading 51st goal to help lead Washington to a low-intensity rout of coasting Chicago in a game between teams whose postseason fates had already been decided.
Jay Beagle had his first career two-goal game, and Nicklas Backstrom also scored as the Capitals won their fourth straight, a hollow winning streak because they won't be in the playoffs for the first time since 2007.
Jaroslav Halak made 34 saves in his first shutout since the trade deadline deal that brought him to Washington from the St. Louis Blues. It was also his first game since a dustup earlier this week over whether he was skittish about facing his former team.
The Blackhawks, shut out for the fourth time this season, were already assured of making the postseason as the third-place team in the Central Division.
Chicago had its four-game winning streak snapped.
JETS 5, FLAMES 3
CALGARY, Alberta -- Paul Postma's first goal of the season at 9:16 of the third period was the winner in Winnipeg's victory over Calgary.
It was the final game of the season for the Jets, who failed to make the playoffs for the seventh straight season -- dating to the team's days in Atlanta.
In his third career start, and third in a row, Michael Hutchinson had 35 saves, including 19 in the third period to preserve the victory.
Calgary has played in 49 one-goal games (25-18-7), tying the NHL record set by Florida in the 2010-11 season.
Karri Ramo had 22 saves but fell to 17-14-4.
Copyright 2014 by The Associated Press
This story is from ESPN.com's automated news wire. Wire index