LAKE BUENA VISTA, Fla. (AP) -- Marcus Smart scored 30 points, and No. 5 Oklahoma State nearly blew a big lead before beating Purdue 97-87 on Thursday in the opening round of the Old Spice Classic.
Markel Brown added 25 points for the Cowboys (6-0), who came in averaging 100.2 points and had defeated their first five opponents by an average of 37.8.
Oklahoma State led 52-29 at halftime after going to the foul line 25 times.
Purdue (5-1) got 18 points from Bryson Smith, and Errick Peck added 12. Ronnie Johnson, who was averaging 13.8 points, battled foul trouble and had 10 points.
The Boilermakers stormed back late and pulled within 84-80 on a 3-pointer by Kendall Stephens with 3 minutes left. Brown and Smart made layups to give Oklahoma State a little breathing room.
Johnson didn't get his first points until making a basket a minute into the second half.
The Cowboys went ahead 67-46 with 14 minutes left on a pair of dunks by Brian Williams. This is the first time Oklahoma State has scored 90 or more points in six consecutive games.
Smart, who scored 24 before halftime, received a technical after reacting to a foul call against him midway through the second half. He spent considerable time on the bench with four fouls.
Johnson and Brown were both given technicals during a brief scrum later in the half.