Tage Thompson scored his 40th goal of the season as the Buffalo Sabres defeated the Tampa Bay Lightning 3-2 in a shootout.