< Browse > Home / Featured, Game Development, OpenGL / Blog article: Classic Pong Source Code Released

Classic Pong Source Code Released

August 18th, 2008 | 3 Comments | Posted in Featured, Game Development, OpenGL by Diego

Note: Version of Pong had to be taken down to legal issues with the graphics package. I should be releasing my own version sometime soon! Be patient. Thank you.



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.



Leave a Reply |

Related Posts to Classic Pong Source Code Released

Follow Discussion

3 Responses to “Classic Pong Source Code Released”

  1. Dave Says:

    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.

Trackbacks

  1. Modify source code to run or make your own video games | Talk Binary  
  2. Kongregate Labs teaches how to make flash games | Talk Binary  

Leave a Reply