Game Exercise 7:
New lingo: startTimer, the timer
The following lingo adds the number 1 to a growing list every time the button is clicked and restarts the timer:
Who are these men?
IN-CLASS TECHNICAL REVIEW EXERCISES:
1) Create a movie with 10 "bricks" in channels one through ten. Put a behavior script on each brick sprite. Each time you click a sprite the sprite channel is added to the list. When your list has 20 members (or you have clicked 20 bricks) make your bricks resize, restart the count, and post an alert, "you have clicked 20 bricks."
2) Create a movie with 3 "bricks" in channels one through three. Make three different global lists. Each time you click on brick 1 the list for brick one is appended. Each time you click on brick 2, the list for brick 2 is appended. Write scripts that track onscreen (in fields) how many times you have clicked each brick.
3) Alter the movie for Exercise 2 so that you have an onscreen timer that is counting in seconds (not ticks). Each time you click a brick the timer is reset to 0.