Sequence: simply placing the scratch blocks one after the other
repetition: an example supplied by scratch would be the forever block
selection: the if block makes selections based on various situations which it is faced with.
upon learning these instructions we were allowed to experiment with scratch using them. my algorithm looked something like this:
When the mouse is down the picture turns clockwise, while if the space bar is pressed it will turn anti-clockwise.
No comments:
Post a Comment