Use the arrow keys to move, and try to make it to the staircase so you can descend to the next level. Every time you complete a level, the maze has more room to expand.
Thank you so much @griffpatch :) Although it is completely random, every level it creates is 100% possible.