top of page

CONTROLLING YOUR CRAB

 

You won't be able to play the game without being able to move the crab around. Try and experiment with different pieces of code to get your crab to move.

 

The object is to get your crab to move at an angle with the left and right arrow keys. Don't forget the way the crab moves in the example>>

 

Pseudo Code

When green flag clicked

If right arrow key clicked 

Then turn at an angle of (?) degrees

Do this forever

 

How can you move in the opposite direction using the left arrow key?

 

 

 

 

 

bottom of page