Move instruction
mikegagnon edited this page Apr 29, 2013
·
6 revisions
The move
instruction moves the robot forward.
move
Move the robot forward one square.
move
move
move
Move the robot forward three squares.
move
move
turn right
move
Move the robot forward two squares, turn right, then move forward one square.
Here are some common errors you might see.
If you get an error message like this, it is because you used a capital M in the word move
. All instructions in Puzzle Code must be lower case.
If you get an error message like this, it is probably because the line contains more than just the word move
.
For example:
-
move forward
is wrong -
move backward
is wrong -
move left
is wrong -
move
is correct