Skip to content
mikegagnon edited this page Apr 29, 2013 · 6 revisions

The move instruction moves the robot forward.

Example 1

move

Move the robot forward one square.

Example 2

move
move
move

Move the robot forward three squares.

Example 3

move
move
turn right
move

Move the robot forward two squares, turn right, then move forward one square.

Having trouble?

Here are some common errors you might see.

'_____' is not an instruction

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.

Malformed 'move' instruction

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