Shaun Showers - CPE 471
Ping Pong Game in OpenGL

Features:
- OpenGL 3-D perspective
- 128x128 textures applied to the table and room
- decal texture applied to the ball to show the balls
spin
- Glut full-screen mode
- Windows sound effects
- Balls return when hit off the back wall
- Dynamic collisions depend on previous paddle movements
- Topspin functionality
- Backspin functionality
- Support for left-right direction depending on timing of the swing
Usage:


- Player Movement
- Arrow keys move the player, shown as blue
- (+/-) keys change the players rate of movement ( to scale to the
computers speed ) , shown as green
- Paddle Movement
- Paddle control is through the mouse , highlighted in red
- End key exits the program, shown as solid red
Tips on playing:
- Use a smooth low to high motion to generate
a topspin shot. Feel free to swing away, the topspin will keep it in
play.
- Use a smooth, controlled, and slow high to
low motion to generate a backspin shot Be wary of too powerful a
swing, the spin will make the ball drift off the table.
- Swing early if you want to direct the shot
crosscourt.
- Swing late if you want to direct the shot
down the line.
Screenshots
Forehand:

Backhand:

Useful links:
1) For tips on game
programming:
http://www.gamedev.net/community/forums/
2) For tips on using Glut:
http://www.nullterminator.net/glut.html