Arrow keys to move Link. You see, with borders and obstacles, tell the character to move 4 steps and change direction every time a certain button is pressed, and when they touch the border or obstacle, they move -4 steps.
Have fun!