SCRATCH PROGRAMMING QUARTER THREE

Back to index

View project at Scratch

Lucky Seven

What are the chances of getting seven of the same object in a row? Do the odds get worse or improve if you add a fourth object?

ASSIGNMENT:

Implement the following alterations to the sample program:

  • Add a yellow star to the shapes sprite.
  • Make sure that all four shapes have the same chance of being selected.
  • Add a message indicating the winner. For instance, if there are more red squares than any other shape say, "Red wins!"
  • Figure out how to deal with a tie.