Press the arrow keys to move left and right, and space to jump. Press A to go to the castle, press B to enter, and press C to go upstairs, and then to go down the stairs press B, and press A to exit, and D to go back to the path.