Pong

Tom Kelliher, CS 320

Apr. 17, 2000

Administrivia

Announcements

Return midterm.

Assignment

Read 4.6,7.

Pong, due May 1.

From Last Time

Animation.

Outline

  1. Pong project.

  2. Pong skeleton demo.

  3. Pong discussion.

Coming Up

Viewing transformations.

pong.c

  1. What are the elements in the game?

  2. What animations are there? What functions do they map to?

  3. What are the boundary conditions?
    1. Velocity.

    2. Bounces.

    3. Acceleration.

    4. Randomization.

    5. Misses.

    6. Points, time?

Details:

  1. Creating/rendering the ball.

  2. Moving the ball: glTranslate.

  3. Accessing cursor control keys: glutSpecialFunc.



Thomas P. Kelliher
Mon Apr 17 12:59:44 EDT 2000
Tom Kelliher