Pong

Team Pong

Joel

Computer Science 2011 Project

Hope Charter High School (wiki, blog, official site)

Mr. Bujak


insert more recent updates here in a reverse chronological order

6/1/2011 update: -------------------------------------------------

INFO:
  1. pattern after ball bouncing in a 2-D box code we wrote in class.
  2. class Paddle - eventually have more than 1!
    1. paddle length
    2. number of paddle hits
    3. cX, cY - to maybe even support >2 paddles on a big square, can have 2 paddles per side or 1 paddle on each edge!
    4. colour
  3. class Ball
    1. size
    2. cX, cY
    3. color
    4. borderOn - True, False
    5. percentOn - additional challenge - if 25% then the ball is hidden 25% of the time, but still moving
    6. speed - uniform along X and Y
  4. with the class Ball we can support more than 1 ball, with all the above attributes, each ball can be different
  5. scoring:
    1. number of paddle hits
    2. number of wall hits
    3. number of total hits
    4. high score (# of paddle hits)
    5. team scoring? - when there are 4 paddles
  6. 1 player:
    1. open up one end (left) and let ball escape
    2. place paddle that moves up and down with UP and DOWN keys (fixed length of paddle)
    3. need ball to bounce off this paddle
  7. 2 player
    1. open up other end and make symmetrical code
  8. have user configurable setup:
    1. paddle length - restrict to 20% --> 80% of the open side
    2. # of balls, speed/size/color of ball 1
  9. a\balls will start in center? with random/restricted speed, fixed size
  10. 3-D pong,1 player in a cube - how do we visualize this?
  11. 3-D pong,1 player in a sphere - you have a 2-D paddle on the surface - where do we start?

image 1:


5/31/2011 update: -------------------------------------------------