Serendipity Writes the Plot: The movie came about due to something like this:
"We only have money for one set, one room."
"That one room could represent a bunch of rooms that look identical."
"Well, a bunch of identical rooms would be a maze."
"So, why does this maze exist? Why are our characters trapped in it?"
"I think that's the plot."