A simple ping pong game using opengl library and glut. The game starts on left mouse click, and stops on middle mouse click Player 1 can control the game using the keys q and a. Player 2 can control the game using the keys o and l.
Run using the commands
$ gcc pingPong.c -lm -lglut -lGL -lGLU
- Up : q
- Down : a
- Up : o
- Down : l
- Starts the game
- middle button to reset the ball, paddle and score