You would defend against waves and waves of enemies and the more you defeat the more powerful they get, but also the more powerful your weapons get. For the final wave you could have one of the other quest bosses come in.