1 of 13

Upper Elementary

Computer Science

Summer Seasonal Project:

Pop the Balloons Game!

2 of 13

Objective

Students will be able to create an interactive summer-themed program using loops, conditionals, and a variable.

Computational Thinking: Algorithmic thinking is organizing a process into clear, step-by-step instructions.

3 of 13

Vocabulary

Loop: A programming structure that repeats one or more commands

4 of 13

Conditional: A command that tells a program how to make a decision if something is true or false

?

Vocabulary

5 of 13

Variable: A container that can hold one value at a time

Vocabulary

6 of 13

Create a Pop the Balloons Game.

  • Aim the ball with the mouse pointer.
  • Throw the ball by pressing the space bar on the keyboard.
  • Get a point by hitting the water balloon.
  • Lose a point by hitting the air balloon.

7 of 13

Set the game up.

  • Add a background.
  • Add 2 balloon sprites (you may make them different colors.
  • Add a thrower sprite (the person).
  • Add a ball sprite.

8 of 13

Create a ‘Points’ variable.

9 of 13

Program the air balloon.

Move down the stage.

React when the ball hits it.

10 of 13

Program the water balloon.

Move down the stage.

React when the ball hits it.

11 of 13

Program the ball.

Set up the beginning of the game.

Move to the mouse pointer.

12 of 13

Program the thrower to give instructions.

13 of 13

Extensions

  • Add more reactions to the balloons.
  • Add more balloons.
  • Change the balloon rates of speed.