Classic Pong Source Code Released
I finally got around to finish my version of Pong. It isn’t true to the original game, but resembles it somewhat in game play. This isn’t supposed to be a deep game, simply a downloadable game that you can modify in order to learn how to make a simple video game.

How to get started
You simply need to know C++ in order to start!
Codeblocks with SDL support – Check out this post in order to learn how to set up your environment in Windows using CodeBlocks
Download Pong – and get started right away!
So what do I do?
Simply open the project file once you extracted the files.

This will open the project in CodeBlocks. You can run the game by pressing F9. The game is also found under the bin/Release folder as an executable. If you want to give simply the game, just zip up the Release folder and you should be good!
What files to modify?
The only files you need to modify are paddle, ball, and game class to modify the existing game.
To add additional keyboard support, fonts, images, music, and more, refer to the other classes.
What now?
Visit the post on the forum for help or comments! Also, show us your creation! We’d like to see what you can come up with!
I hope everyone enjoys this. Tell me what you think!
Thanks to
Thanks to Roby Atadero’s comments and great OpenGL/SDL package! Couldn’t have done it without him.



September 28th, 2008 at 7:43 am
Thanx!
Really fun to dust of theese old classics. I’m gonna use this to introduce my son to the noble art of game programming.