C - 002

[ easy ]  60 min

Brick Breaker

 

Result

Overview

In this game, the player moves a PADDLE from side-to-side to hit a BALL. The game’s objective is to eliminate all of the BRICKS at the top of the screen by hitting them with the BALL. But, if the ball hits the bottom ENCLOSURE, the player loses and the game ends! 

To win the game, all the BRICKS must be eliminated.

 

Learning outcome

  • Introduction to computational creation with Ready.
  • Learn action → consequence sequences through game mechanics.
 

Computing Concepts in this project

  • Classes (Bricks)
  • Conditional Statements
  • Adding multiple consequences to conditional statements “+”
  • Hiding object from Events
  • Restarting your scen.
  • Origin points (home base)
  • Physics and Momentum
  • Triggering Effects via conditional Events

Behaviors & Effects in this project

  • Control pad (PLAYER)
  • Impact Particle (PLAYER)

 

 

CCSS

CCSS.ELA-LITERACY.CCRA.R.5
Analyze the structure of texts, including how specific sentences, paragraphs, and larger portions of the text (e.g., a section, chapter, scene, or stanza) relate to each other and the whole.

Rationale: Students begin to analyze hierarchical relationships within the event manager, how one relates to another, and how these actions are depicted graphically.

 

CSTA

CT.L2-06 Describe and analyze a sequence of instructions being followed (e.g., describe a character’s behavior in a video game as driven by rules and algorithms). 

CT.L3B-10 Decompose a problem by defining new functions and classes. 

CPP.L2-05 Implement problem solutions using a programming language, including: looping behavior, conditional statements, logic, expressions, variables, and functions. 

 

 

Video solution