That's what Global Game Jam is for, it's a 48h competition for writing games. I attended two of those, and during those 48h took maybe total of 8h naps here and there. Amazing experience. But yes, really, at some points your brain just stops working.