Robot in Space



Goal:

Make the Robot move around the screen when the arrow keys are pressed. There will be a surprise if the Robot finds R2D2.

Steps:

  1. If the up arrow is pressed, move the Robot up the screen.
  2. If the down arrow is pressed, move the Robot down.
  3. If the left arrow is pressed, make the Robot go left.
  4. If right is pressed, move the Robot right.