Use arrow keys to move, SPACE to interact with stuff if you are lined up with the red line. Reach door at the otherwise dead end room, and you can leave. The door just has to be the color as that door if you use it in your own game.
This is an engine, hence, it is for open use. Credit isn't needed, but preferred. I might use this for something later.