Want to create interactive content? It’s easy in Genially!

Get started free

Robot bop

Kapow!

Created on October 11, 2023

Start designing with a free template

Discover more than 1500 professional designs like these:

Puzzle Game

Scratch and Win

Microlearning: How to Study Better

Branching Scenarios Challenge Mobile

Branching Scenario Mission: Innovating for the Future

Piñata Challenge

Teaching Challenge: Transform Your Classroom

Transcript

Robot bop

©2023 Kapow Primary
www.kapowprimary.com

Robot bop - Decomposition

Decompose means to break something down into small parts. Before we start coding, we can decompose the project to help us work out how to recreate the game for ourselves.

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com

Decomposition

What code block in Scratch might help us recreate this?
What happened when you clicked the green flag?
The robots started disappearing and moving around.

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com

Decomposition

What code blocks in Scratch might help us recreate this?
Where did the robots move to?
A random place on the screen.

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com

Decomposition

How many times did the robots keep appearing and disappearing?
What code block in Scratch might help us recreate this?
Forever.
©2023 Kapow Primary
www.kapowprimary.com

Decomposition

What code blocks in Scratch might help us recreate this?
What happened next in the game? What did you do to play it?
If you click on the sprites they disappear.

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com

Decomposition

What code blocks in Scratch might help us recreate this?
What happened when the sprites were clicked?
The robots made a sound and then disappeared.

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com

Decomposition

These are the blocks required to create one of the sprites in Robot bop. Can you can recreate the code accurately in your own Scratch project? You can use whatever sprite and background you like. Be creative!

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com

Decomposition

Here is the correct answer. How did you do? Did you put all of the coding blocks in the correct place? What part of recreating the code did you find difficult?

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com

Decomposition

If you want to add more sprites to the game you can right-click (or hold down ‘ctrl’), click on the sprite’s small icon and then select duplicate from the menu.

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com

Decomposition

If you want the sprites to appear at different times, which coding block do you think you need to change?

10

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com

Decomposition

Change the wait time on this block to be something different for each sprite and they will all reappear at different times. This will make the game more interesting and fun to play.

11

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com

Decomposition

Make sure that the wait time is between 1–5 seconds if you want your game to work like Robot bop. Look inside the code on the original Robot bop remix if you need some help!

11

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab

©2023 Kapow Primary
www.kapowprimary.com