c - 004

[ intermediate ]  60 min

Pong

 

Result

Overview

Pong is one of the earliest arcade video games and the very first sports arcade video game. It is a table tennis sports game featuring simple two-dimensional graphics. The aim of the game is for the PLAYER to score on the COMPUTER while defending its GOAL. In this project, the COMPUTER is programmed with basic artificial intelligence so it can respond to the PLAYER.

 

 

 

Learning outcome

  • Be introduced to what is "Artificial Intelligence" 
  • Utilize and experiment with game mechanics.

 

 

Computing Concepts in this project

  • Conditional Statements
  • Adding multiple consequences to conditional statements “+”
  • Solids vs Non-solids
  • Artificial Intelligence
  • Timer
  • Win moment
  • Physics and Momentum
  • Setting Backgrounds
  • Playing Effects via conditional Events
  • Game Theory

Behaviors & Effects in this project

  • Bullet (BALL)
  • Control pad (PLAYER)
  • Fireworks Effect (PLAYER SCORE)
 

CCSS

CCSS.ELA-LITERACY.CCRA.W.9
Draw evidence from literary or informational texts to support analysis, reflection, and research.

CCSS.ELA-LITERACY.RI.6.7
Integrate information presented in different media or formats (e.g., visually, quantitatively) as well as in words to develop a coherent understanding of a topic or issue.

 

CSTA

CT.L2-02 Describe the process of parallelization as it relates to problem solving. 

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). 

CPP.L2-08 Demonstrate dispositions amenable to open-ended problem solving and programming (e.g., comfort with complexity, persistence, brainstorming, adaptability, patience, propensity to tinker, creativity, accepting challenge). 

 

 

Video Solutuion