Use the right and left arrow keys to rotate the crab. He moves sideways (like a crab!). If he touches the wall you will lose a life - be careful you only have 3 lives. Collect coins and stars to gain points. To get to the next level you need to reach the large green circle.
Some ideas taken from Scratch website.