Paddle from Scratch - SCOPES Digital Fabrication

Lesson Details

Age Ranges
Standards
Fab-Programming.1, Fab-Electronics.1, Fab-Design.1
Author
Additional Contributors

You need to login or register to bookmark/favorite this content.

Author

Studio 5
Studio 5
K-12 teacher
In line with the Ministry of Communications and Information Technology’s Digital Youth Strategy, STUDIO 5 is mainly aimed at nurturing youth as digital learners by sharpening their 21st century learning skills, as they develop in an all-pervasive digital environment. In… Read More

Summary

Onsite workshop aims to show the student the power of being creative and having a good coding skills.

The workshop will deliver knowledge of how to code and connect between different coding methods to develop a game from scratch,

The workshop will push the participant to demonstrate his creativity through designing.

This is a 4 days activity start in designing and ends playing.

Day 1 –> Draw the field and character

Day 2 –> Code the Game

Day 3 –> Use Makey Makey

Day 4 –> Competition

What You'll Need

This workshop will need:

  1. Computer
  2. Makey-Makey
  3. Gummi Bear candy
  4. Presentation

 

The Instructions

Introduction

In this section we will go through the time line of the workshop.

1- We will go through the workshop objectives, and we will motivate the participant as we will have a competition in the 4th day.

2- We will explain the delivered content in the 3 days and what we will be doing.

Day 1

The participants will be introduced to the Scratch platform UI and how it works. They will also design and customize the game background as the paddle field, the paddle and the paddle ball. ​​

1- We will start with a question to grab the participant attention to the topic of the session. 

2- Then we will explain the world cup tournament, going to happen in the late November in Qatar

3- Then we will ask the participant about what is sport in their opinion.

4- Sport is any form of physical activity that contribute to physical and mental well-being.

5- Then we will ask the participant about their favourite sport?

 

6- Then we will talk about the paddle tennis, as a game mixes between the tennis game and the squash game, but this game played only in doubles.

7- We will also describe the paddle tennis field to the participant.

8- Then we will explain what we will be doing today to the participant.

9- We will use scratch to build a paddle tennis game to have a tournament at the 4th day.

10- We will draw the fields and the paddles also the ball.

11- We will open Scratch and explain to the participant how to start creating.

12- We will ask participant to have an account to save their progress if they are using the online version of scratch.

13- We will start by deleting the cat.

14- Then we will start drawing the field on the stage section as a backdrop.

 

15- We will ask the participant to customize the field as they want, through changing the colour of the field also the line colours, they can also add their names.

16- Then we will ask the participant to draw a sprite at the sprite section.

17- the sprite is going to be the ball, they can customize it and also choose the best size for their ball.

18- Then we will ask the participant to draw the paddle under sprite section.

19- Then after they draw and customize their own paddle, we will ask them to duplicate the paddle for the second paddle.

20- Then we will ask the participant to show their result.

Day 2

On the second day participants will program the paddle game using block coding, and they will add features of the game, as record their own voice, edit it, and import a sound file for the winner and the game over.

1- We will start with a recap for the previous day.

2- Then we will ask the participant an Ice breaking question.

3- Then we will ask the participant about what they know about coding.

4- Explain coding instructions.

5- Distinguish the difference between the types of coding.

6- Explain coding through a video.

7- Then we will start coding with the participant step-by-step.

8- The coding of the game will start from the ball code.

9- the coding process will start by creating the variables for “Player 1” & “Player 2”.

10- Then we will explain the need for event instructions and the use of each event.

11- Then we will discuss the way of calculating the position of the ball and how to turn the ball when it bounces.

12- Discuss loops and the need for it.

13- Then we will explain the need for If condition statement.

14- Then we will discuss the speed of the ball and how to make the ball movement.

15- Then we will discuss the event instruction and the need to reset the ball position when a certain key is pressed.

16- Then we will explain the scoring scenario and how the score are going to be counted.

17- The code must start when the game start, so both are connected with the same event.

18- Then we should decide when the score are counted this has to be decided from the design process as the ball when it touches a certain colour it should count a score.

19- Then we will decide the winning scenario through putting the final score to win.