Even for such a purpose have to think like a hunter,
First check your regs if baiting /feeding is even legal.
Some states ban baiting/feeding during hunting season, some states ban it year round.
As for what to use?
I think scent product would work better, corn and other foods, really need the deer to pass close by, and need to be left there a while. Not sure how that would work at a basketball court.
For the scent product, think of te wind. Want to make sure woods and such are downwind. And not some building complex.
Lots of scent products out there, go to any sports store and they should have some.