Use the arrow keys up, down, left and right
I decided to the teleporters in my maze. I also design it so if the character hit any specific of the black and gray lines, or even the teleporters, you would go all the way to the starting point again! The extension I used was rewards. If you touched the treasure chest or the gems the sprite would say "You Win", or "You Won."