pygame is
Simple DirectMedia Layer is
Site Swing


Robert Brooks (brooksnet)



Wrote this as a learning exercise and for fun. I have always done a little programming and at the start of my career I had the choice enter this field and at the time I chose Computer Networking instead. I am writing these simple Python and Pygame programs for fun and to learn. All programs are fairly well documented in the source and none at the moment use OO techniques so should be easy to follow for the beginner.


Home Page:


click to view original size


PONGER - 1 - Sep 1, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

February 21, 2009 7:25pm - A Wilson - nickname: (aiwson)
If the left player pushes 's' to release the ball and then HOLDS s as the ball scores against the right player, his score becomes incorrect--rather than getting 1 point, he'll get...a lot. And then, if you continue to hold down 's', the ball doesn't reappear AND the left player's score continues to constantly increase. The same effect appears when using the ENTER key. If the right player tries the same thing (holds the "start ball" key and left player misses), the ball will bounce back anyway (even though missed by right player) and the right player gets +3 points. Right now, after 1 minute of playing, using these errors, I've got the score to 2273 to 49.
September 16, 2008 11:46am - pymike - nickname: (pymike)
Nice :-)
September 7, 2008 4:26pm - Robert Brooks - nickname: (brooksnet)
Thanks for all of your comments so far - good and bad. Sorry about the error with the file download from the site - this is now fixed. Helps if you actually upload the zip file in the first place :-)
September 2, 2008 2:12pm - pymike - nickname: (pymike)
The site loads but I can't download your game! Says "404 not found"
September 2, 2008 8:47am - pymike - nickname: (pymike)
I betcha run into collision problems. Snake is not hard at all to make. I'll make a demo to prove it to you.
September 1, 2008 10:00pm - Anonymous - nickname: (pywiz32)
umm... breakout is not a hard game to program. You did a snake game, which is harder than breakout. I will even make a breakout game to prove it to you.
September 1, 2008 8:56pm - pymike - nickname: (pymike)
"Trying to catch stuff" is just as widely used as Pong, and Breakout is a really tough first project. Like I said, when learning, do something simple first, and gradually do tougher stuff.
September 1, 2008 8:48pm - Anonymous - nickname: (pywiz32)
I'm not saying you shouldn't make a pong clone, just try something a little more original. How about a falling objects game? Tying to catch stuff? How about a game of breakout? Just some ideas.
September 1, 2008 3:45pm - pymike - nickname: (pymike)
Lots of people start programming or learning a language/library by making a simple game, such as pong. No reason to freak out about it.
September 1, 2008 3:12pm - Anonymous - nickname: (pywiz32)

Anyways, from the screenshot, the alignment of the scores needs to be fixed. plus, the link on your website is broken. But i'll be happy to look at it in greater detail when it's available.

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Nov 17, 2015

Nov 12, 2015

Nov 11, 2015

Nov 8, 2015

Oct 16, 2015

Oct 9, 2015

Sep 11, 2015

Sep 6, 2015

Aug 26, 2015

Aug 25, 2015

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)