how long is the coursework, have you started it? Bit silly leaving it till now so....
Flat party till say..midnight. Back to your room, COURSEWORK TIME, drink, but don't get wasted, the drink will help you de-stress. Do the coursework assuming it only takes a few hours.
Wake up tired..hand it in, sleep in lectures tomorrow if it comes to it, go job...Jobs a good'un.
By the way I don't behave like this myself...but it's probably what would happen..as if I hadn't done the coursework by now, I'd probably just cram over night and have fun in the evening.