The 32-year-old star has teamed up with Affleck in "Runner Runner", where he gets involved in the world of online poker and gambling to pay his college fees, reported BBC news.
"It was kind of nice to be on the other side... I've never played the kind of guy that was in the eye of the storm things, everything is kind of happening to, versus the instigator," Timberlake said.
"I just drank a lot of beer, that's all you really do in college, right? You just drink a lot of beer and run around, flipping around, flipping the bird," he added.