AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Reusable blocks and loops

Week 24 · Unit 10: Be a game developer · 3 lessons
Answers are for parents and teachers.
1
Write your own three-move dance (for example clap, turn, bow) as a sub-routine called “my dance”. Then write two short scripts on paper that both call it.
2
Write an algorithm with a repeat step, for a robot that claps and then stamps. It must do this 5 times in all. Then write the number that goes in the Scratch repeat block.
3
A program has repeat (6). Inside the loop it waits 0.5 seconds and moves 10 steps. How long does it take, and how far does the sprite move?
4
Make a test table with three rows for a simple game idea of your own (for example “press the space key”). Write the expected result for each row.
5
(if you have a computer or tablet) Open Scratch with a grown-up. Make a block in My Blocks called “wiggle” and use it in two scripts. Does changing it once change both?