A possible solution would be creating the database(s) for them and give out users which have permissions on those DBs.
create studentsdb, create user student01, create user student02, et cetera. give all those users rights on studentsdb and let them create something, but insist that playing...