SCRATCH PROGRAMMING QUARTER FOUR

Back to index

View project at Scratch

ALSO SEE THIS DEMO AT SCRATCH!!!

VIDEO: How To Draw a Snail

Slime Trail

Snails are slimey and they leave a trail wherever they go.

There are two demo projects for you to check out. The first one utilizes one variable which contains a numeric value which gets incremented from within a repeat block. The second demonstrates the use of variables and how to generate random numbers. Study the code for both projects carefully to determine how the dern things work!

ASSIGNMENT:

Implement the following alterations:

  • Create a total of five snails. Give them each a unique appearance. Also have each snail create a slime trail of a different color.
  • Your snails will "race" across the screen from left to right.
  • You will create two buttons: START and RESET.
  • The START button will start the race.
  • The RESET button will send the snails back to the starting line.
  • Move the snails across the screen using random values so that the outcome of the race will be different each time you hit the start button.
  • Once the first snail hits the right edge, stop the race.