Professional Documents
Culture Documents
Activity Guide - Functions Explore/Investigate: Song Lyrics
Activity Guide - Functions Explore/Investigate: Song Lyrics
6, 12, 19
How does the updateScreen function make the program easier to write and understand?
1
Copy of U4L09 Activity Guide
Then,
● Change the program to make the game end when the score is 15 or greater.
● Change the program to make the game end when the score is -10 or less.
● Change the program to make it display the word " clicks" after the count as you play the
game. For example, it should say "5 clicks" or "10 clicks" instead of just 5 or 10.
● How does the newly added updateScreen function help keep your code better organized
or reduce the amount of repeated code?