CODE CREATIVE
COOK WITH ME
Don't burn the eggs!
TASK #1
The "Cook With Me" program will present the user with several sprites that are used for cooking. The user will have to drag the sprites over the frying pan in the correct order to move forward.
The first task is to watch the introduction video below
to get an idea of what the project entails. An extension exercise here is to add additional sprites to create a more complex game.
After watching the video, be sure to
open up the "Starter Pack"
. Make sure you click on the remix button after Scratch opens up so that it saves on your account.
TASK #2
TASK:
Make all the breakfast sprites show in the correct positions with their uncooked costumes showing when the "Green Flag" is clicked.

HINT #1:
You will need to use the
"Green Flag"
button and the
"Goto"
and
"Switch Costume"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #3
TASK:
Make each food item appear cooked when touching the frying pan.

HINT #1:
You will need to use the
"Forever"
,
"If"
, and
"Touching"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #4
TASK:
Make each food item say something positive when they are cooked and have them glide back into their original position next to the frying pan.

HINT #1:
You will need to use the
"Say"
, and
"Glide"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #5
TASK:
Program your food to be cooked in the following order: bacon, eggs, then bread. If the eggs or bread are cooked before the bacon, they burn. If the bread is cooked before the eggs, they are sent back because the bread needs to have the flavor of the bacon and the eggs.

HINT #1:
Create the
variables
for each food item. You will need to use the
variables
and the
"AND"
operator.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #6
TASK:
Don’t allow the salt to be sent to the frying pan .

HINT #1:
You will need to use the
"AND"
operator and the food item
variables
. Be sure to use the
"If"
and
"Say"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #7
TASK:
Make the eggs and bread burn if cooked before the bacon. Also, make sure the bread is cooked after the eggs to get more flavor.

HINT #1:
You will need to use the
"If"
,
"Say"
,
"Change Costume"
, and
"Glide"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #8
TASK:
When all the food items have been cooked, cause the dinner plate to appear.

HINT #1:
You will need to use the
"Broadcast"
,
"When I Receive"
, and
"Show"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #9
TASK:
Program each food item to be placed in the correct position on the plate if dragged to the center of the plate.

HINT #1:
You will need to use the
"If"
,
"Glide"
, and
"Stop"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #10
TASK:
Program the salt to say an error message when used on the bacon or the bread.

HINT #1:
You will need to use the
"If"
,
"Touching"
, and
"Say"
blocks.

CHECK UP:
Watch the video below to check that you completed the task.
TASK #11
TASK:
Don’t allow the salt to be placed on the plate.

HINT #1:
Use the
"NOT"
and
"AND"
operators. You will need to also use the
"If"
,
"Say"
, and
"Glide"
blocks.
TASK #12
TASK:
End the game when the salt is dragged to the eggs.

HINT #1:
You will need to use the
"If"
,
"Touching"
,
"Say"
, and
"Stop All"
blocks.
CHALLENGES EXERCISES
  1. Program the salt to give hints on what food item should be cooked next when used on the frying pan.

  2. Program the salt to animate when used correctly on the cooked eggs.

  3. Cause the program to restart on each bad move. Give the player 3 tries before showing a “Game Over” screen.

  4. Add butter as a food item. Butter would need to be added to the pan before toasting the bread.