Pong

From WLCS
Revision as of 12:51, 10 October 2012 by Admin (talk | contribs)

Objectives:

  • You will use Scratch to create Pong
  • The Pong game will require that you use math, variables, conditionals, and loops!

Resources:

Pong Directions:

  • Background with dashed line through the middle
  • Scoreboard
    • If the ball goes beyond the left side, then the right player gets a point
    • If the ball goes beyond the right side, then the left player gets a point
    • When either player reaches 10, then they win
  • Two paddles a parallel to each other
    • Left paddle goes up and down using S and W keys
    • Right paddle goes up and down using Up and Down keys
  • Ball movement and placement
    • Ball starts from the middle
    • Moves around at angles
    • Bounces when it hits a paddle
    • Bounces when it hits the top and bottom
  • Sounds
    • Played when it hits the paddles
    • Played when it hits the bottom or top
    • Played when a player scores

Grading Rubric:

  • 2 pts - right paddle moves up and down with keyboard
  • 2 pts - ball bounces properly off the right paddle
  • 2 pts - left paddle moves up and down with keyboard
  • 2 pts - ball bounces properly off the left paddle
  • 2 pts - Player 1 and Player 2 points are tracked and displayed properly