Yes the levels are randomly generated with I think it's called the Drunk walk technique (used in nuclear throne). The exits unlock if you kill all the enemies :p. It can be pretty tiresome to kill all of them I know, especially with the basic gun.
Thank you for playing !