Make your way out of the rooms by picking up keys. After beating a level, right click on the game and find Play to go to the next level.