Introduction to Scratch
Block based coding
Introduction to Scratch
Block based coding
My expectations
It’s ok to be wrong
Understanding ‘why’ learning about computers is important!
Cold calling: Creating a culture of answering questions.
‘Listen’ when someone else is talking.
Next half term
Variables
Selection (if statements)
Iteration (loops)
Lists
Game design
Today’s lesson
Learning about the PRIMM model
Introduction to Scratch
What would this program do to this character?
What would this program do to this character?
It would move forwards then turn right.
Recall
Remember repeat blocks?
We can move in a square by repeating these instructions four times.
PREDICT - What do you think this code will do?
SCRATCH
RUN - Did the code run as you expected?
INVESTIGATE
Which Scratch block category would you use for loops?
INVESTIGATE
What does the forever block do?
INVESTIGATE
3.Why do you think the forever block is used in this game?
INVESTIGATE
1.Which Scratch block category would you use for loops?
2.What does the forever block do?
3.Why do you think the forever block is used in this game?
4.What’s happening in this game?
MODIFY
Take a few minutes to look at the code.
Amend the program so that;
The fish can be controlled up and down as well as left and right.
Add a starfish character that the fish eats.
MODIFY
Controlling the fish
Here you need to add two if statements.
So that the 'y' axis changes when you press the up and down arrows.
MODIFY
Controlling the starfish/octopus
The starfish has a simple job to do, avoid getting caught!
We do this by getting it to glide randomly around the stage.
Did you add up and down controls?
Yes
No
Did you add a starfish and the code to the game?
Yes
No
MAKE
Make a new version of the game the involves different theme but is still a 'cat and mouse’ game.
Did you make a new game?
Yes
No