Module 5 - The “Bounce the Ball Arcade Game” Project

Z Wiki Mistrzowie Kodowania
Skocz do: nawigacji, wyszukiwania
Logo Mistrzowie.png

These materials have been developed by Ośrodek Edukacji Informatycznej i Zastosowań Komputerów (Centre for Information Technology Education and Application of Computers) in Warsaw as part of the “Mistrzowie Kodowania”(“Coding Masters”)Programme funded by Samsung Electronics Polska, licensed under CC BY-SA “Attribution – Share Alike 3.0”.


Information

Objectives

General objectives:

• Review and revision of previously presented Scratch commands and language structures; • Introduction of the message mechanism in the Scratch environment; • Development of an arcade game outline; • Implementation of the game in the Scratch environment.

Specific objectives:

• The student will understand and be able to use appropriate structural instructions. • The student will understand the concept of variable and be able to use it in the programme. • The student will be able to send messages and programme reactions to a received message. • The student will be able to use stage backgrounds. • The student will understand how events work and know how to use them in the programme. • The student will be able to implement a simple arcade game in the Scratch environment.


Stages

Discussion of selected solutions of module IV additional tasks

Time to complete this part: about 15 minutes

At the beginning of the lesson we remind the students what they were supposed to prepare between classes. We invite a volunteer to present his/her solution. We discuss with the students if anyone found a different solution. We discuss the solutions (we praise every correct solution to a task).

If there was no homework, we start by repeating key issues from the previous module. We also ask if students have any doubts about their own projects. If anyone wants to show something he/she is proud of, we allow him/her to do so.

Designing and implementing a game involving hitting a ball with a racket controlled by the player using a computer mouse

Time to complete this part: about 45 minutes


We propose to create an arcade game which will involve hitting a ball using a racket controlled with the use of a computer mouse. We will start with the simplest version and then supplement it with additional elements – including a version of the game for two players controlled with the use of the keyboard.

We sketch a drawing on the board next to which we will be able to write algorithms of actions of individual sprites and what we need to do to make our game work.