TAMPA, Fla. — The Giants have seen kicks of more than 50 yards and even more than 60 yards beat them in the final seconds over the past few years. It sure looked as if this would be another one to tear their hearts out when the Buccaneers lined up for a game-winning 34-yard field goal Sunday.

But rookie Matt Gay missed the kick wide right, giving the Giants a 32-31 comeback victory.

“From my angle I can never tell whether they’re good or not,’’ coach Pat Shurmur said. “There was so much cheering going on and we had so many of the Giants faithful here it almost sounded like, from my perspective, like they made it. Fortunately I was wrong.’’

It was a nightmarish game for Gay, a rookie. He missed two extra points in the first half and pushed his kick with no time remaining to the right. He failed to deliver five points to his team and the Bucs lost by one point.

“Just didn’t hit it clean,’’ Gay said. “I’ve got to make that every single time. Yeah, this loss is 100 percent on me.’’

Daniel Jones is the first rookie quarterback since 1970 with at least 300 passing yards, two passing touchdowns and two rushing touchdowns in a game.

Eli Manning never had two rushing touchdowns in the same season and has just seven in his 16-year career.

LB Alec Ogletree hurt his hamstring on a play that did not count. Late in the second quarter, Jameis Winston lost the ball when he was sacked by rookie Dexter Lawrence. The ruling on the field was that Winston fumbled, even though his arm was moving forward with the ball, and Ogletree not only picked up the loose ball, but took off down the left sideline, racing 79 yards to the Tampa Bay 28-yard line before he pulled up. Ogletree hurt his hamstring on the play, which turned out to be no play at all.

A replay review ruled that it was an incomplete pass and not a fumble. The Buccaneers kept the ball and kicked a field goal. Ogletree was forced out of the game and did not return.

Another linebacker, Tae Davis, was forced out in the fourth quarter with a concussion.

Rookie LB Ryan Connelly, a fifth-round pick from Wisconsin, made his second NFL start and came up with his first interception when he picked off Winston in the fourth quarter.

The Giants got burned by the new pass interference challenge rule, costing them 29 yards late in the second quarter. A Winston pass deep down the right sideline, intended for TE O.J. Howard was imcomplete with S Jabrill Peppers in coverage. The Giants celebrated, but Bucs coach Bruce Arians challenged the play, believing Peppers interfered with Howard. The ruling came back in Arians’ favor, with referee Bill Vinovich saying Peppers “significantly hindered’’ Howard on his route.

Shurmur lost a replay challenge and a time out early in the fourth quarter with what seemed to be a strange move. A pass to Chris Godwin was well-defended by rookie CB DeAndre Baker and fell incomplete. Shurmur challenged, saying Godwin committed a pass interference penalty. There was not much there and Shurmur lost.