Dolphins vs. Bills score Buffalo is led by Josh Allen.

Josh Allen gave the Buffalo Bills one of his best games of his career on a night when they needed him to produce at the MVP level.

Allen led the Bills on a drive of 86 yards that ended with a game-winning Tyler Bass field goal with no time remaining to give the Bills a dramatic 32-29 victory.

Allen led the Bills to victory on the final drive by completing 4 of 5 passes for 40 yards for a total of 4 passing touchdowns for the night.

The Bills' quarterback also connected on a 5-yard touchdown pass to Dawson Knox in the fourth quarter, bringing the score to 29-27. However, the conversion try failed narrowly, leaving the score tied at 29-29.

With the win, Buffalo is now just one win away from winning the AFC East and securing a playoff home game. Allen added 77 yards of rushing.

Tua Tagovailoa finished the game 17 of 30 for 234 yards and two touchdowns, giving the Dolphins everything they could handle in the loss.

The Dolphins are a half-game ahead of the AFC's last playoff slot and behind the Bills by three games in the AFC East competition.