Andrew Maxwell throws game-winning, 46-yard touchdown pass to AJ Troup in the fourth quarter.
Nick Hill's 7-yard touchdown run the difference in the second scrimmage.
Andrew Maxwell completes 17-of-27 passes for 187 yards and three touchdowns.
Nick Hill, Jeremy Langford and Nick Tompkins are competing this spring for time at running back.
WEST LAFAYETTE, Ind. (AP) - Michigan State coach Mark Dantonio likes his team's resilience. Now it's time to develop a knockout punch. Connor Cook threw three touchdown passes and Nick Hill ran for two scores Saturday, but No. 8 Michigan State still needed a late interception return for a touchdown to hold on 45-31 at Purdue
Check out the USA Today photo gallery from the football game between Michigan State and Rutgers.
Fifth-year senior provides depth at tailback . . . led all players with 28 yards rushing on four carries (7.0 avg.) in the spring game.
2015 SEASON (JUNIOR): Did not see game action . . . named Scout Team Offensive Player of the Week vs. Penn State and Scout Team Special Teams Player of the Week vs. Indiana . . . moved back to his original position at running back during spring practice after spending the 2014 season at cornerback.
2014 SEASON (SOPHOMORE):Transitioned to cornerback following two seasons at running back . . . recorded an interception in his only appearance of the season against Jacksonville State.
2013 SEASON (RED-SHIRT FRESHMAN): Rushed for 16 yards on six carries against Youngstown State in his collegiate debut .
2012 SEASON: Redshirted.
HIGH SCHOOL AND PERSONAL DATA: Ranked among the nation's top all-purpose backs by Rivals.com (No. 11) . . . rated among the country's top running backs by 247Sports.com (No. 54), Scout.com (No. 70) and ESPN.com (No. 73) . . . named to SuperPrep's All-Dixie Team . . . listed among Georgia's top seniors by Rivals.com (No. 43) and SuperPrep (No. 45) . . . carried seven times for 92 yards, including a 76-yard touchdown run, in the Georgia Athletic Coaches Association North-South All-Star Football Classic . . . rushed 18 times for 81 yards, including a 13-yard TD run, in the Rivalries of Gwinnett All-Star Game . . . three-year starter for Coach Mark Crews at Brookwood High School in Snellville, Georgia. . . . honorable mention all-state choice in 2011 by The Atlanta Journal-Constitution and Georgia Sports Writers Association . . . selected Gwinnett County Running Back of the Year after rushing for 1,225 yards (6.1 yards per carry) and 11 TDs as a senior . . . rushed five times for 133 yards and three scores vs. Berkmar . . . returned a kickoff 75 yards for the game-winning TD with 15 seconds left vs. Parkview . . . carried 18 times for a season-high 196 yards and two TDs vs. Shiloh . . . gained 192 yards on 19 attempts and scored twice vs. Central Gwinnett . . . named Snellville Patch Player of the Week after rushing 27 times for 118 yards vs. Collins Hill, including a 79-yard TD gallop . . . earned first-team all-state honors as a junior from GSWA and AJC . . . also named first-team all-county in 2010 . . . rushed 226 times for 1,845 yards (8.2 avg.) and 22 TDs as a junior while helping the 14-1 Broncos win the Class AAAAA state championship . . . high school teammate of former Spartan wide receiver Andre Sims Jr. . . . son of Reggie and Keisha Tompkins . . . father Reggie played wide receiver at Wisconsin . . . born Dec. 19, 1993 . . . graduated with a bachelor's degree in communication in the summer of 2016 and is currently pursuing a second degree in advertising.