On the Bibliographic Gaming blog, I found this link to ADRIFT, a text based game generator. The software looks like it could produce quite complex games, in which you stipulate the rooms, objects, people, and actions that need to be accomplished to win. I think to make it interesting you would definitely need a lot of graphics and audio, and I am uncertain how much support there is for that in the program.
It might be interesting to use the game generator along with many pictures of the library (or the entire campus!) to make some sort of adventure game. The purpose could be to teach about a particular subject or to explore the environment in a more interesting manner.