Essential Question: How can I use a counter in my program?
Mastery Objectives:
SWBAT use a counter in their program.
SWBAT use math functions to calculate increases in rate.
SWBAT use click detection methods.
Do now: Find an image of a cookie. Play the game cookie clicker. https://orteil.dashnet.org/cookieclicker/ In the google question, write how you would calculate the intervals for cursor and grandma.
Intervals:
Cursor - 1 cookie every 10 seconds
Grandma - 1 cookie every second
Farm - 8 cookies every second
Factory - 47 cookies every second
Mine - 260 cookies every second
Bank - 1,400 cookies every second
Ticket-to-Leave: In the google question, how can you add bonus points to your game?