Want to design a room escape game?

The increasing popularity of room escape games brings with it some interesting design considerations. How do you lock all your friends in a room and force them to solve cryptoquotes and make sure everyone still has a good time?