American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM – Scratch Level 2 – Allison

June 18, 2022 @ 3:00 pm - 4:00 pm

Today we:
  1. Continued the Supermarket project
  2. Created a Shopping Cart list
  3. Coded the Watermelon sprite to hide and add the word “Watermelon” to the Shopping Cart list if clicked
  4. Coded the Apple sprite to hide and add the word “Apple” to the Shopping Cart list if clicked
  5. Created the sprite “Checkout” and the variable “total_cost”
  6. Coded the Cat sprite to say the items in the Shopping Cart and say the total cost
Homework:
  1. Reminder: Please email your homework the night before class to allison@ayclogic.com. Don’t forget to share your project, as well as write your name and Scratch project link in the email. 
  2. Code the Bananas, Muffin, Bread, Donut, Jar, and Milk sprites to do the same thing as the Watermelon sprite when clicked. Use the information at the bottom to help.
  3. Ex: If the player presses the Bananas sprite, the sprite will point in the right direction, have a bigger size, and say “Thank you for purchasing bananas. It costs $4”. The banana will be added to the shopping cart, $4 has been added to the total cost, the sprite goes back to its original size, and then the sprite hides.
  4. Code the Banana, Muffin, Bread, Donut, Jar, and Milk sprites to show when the game starts.
  5. Contact us if you have any questions or need any help
Homework Information:

These are the costs for the items in the game.

  • Bananas: $4
  • Muffin: $2
  • Bread: $5
  • Donut: $6
  • Jar: $7
  • Milk: $9

Details

Date:
June 18, 2022
Time:
3:00 pm - 4:00 pm
Event Categories:
,
Verified by MonsterInsights