Sign in to follow this  

Orginal PONG source code

This topic is 3499 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been searching for the orginal source code for pong now in 2 weeks but still havn't found it, does anyone in here have it? I don't want a premodified version due to that's just want i want to do with it, i want to rewrite the code to get my own personal version of PONG. If anyone in here got the code plz post it here or attatch it

Share this post


Link to post
Share on other sites
Would PONG even have source code? The logic was probably hardware driven so your 'source' may just be a circuit diagram.

Share this post


Link to post
Share on other sites
Why do you need the original pong source code? There are so many remakes and the such, and they are all probably better suited for viewing (see the post above mine). Plus, pong is so incredibly easy to code, I'm not sure why you would want to mod someone else's version. Just write your own, making your own modifications.

Share this post


Link to post
Share on other sites
Here it is:


(well, the Atari version at least)

Hardware didn't have microprocessors in those days, so like yaustar said, you'd be looking at a circuit diagram (if it's even publicly available).

Share this post


Link to post
Share on other sites
Doing a little historical reading, it sounds like pong probably was a series of electrical diagrams -- it's predecessors not even using integrated circuits. Don't read source code anyways -- even if you had the code to the original, it'd be 35 years old and predating modern programming languages and practices.

Share this post


Link to post
Share on other sites
ohhh sorry my bad .. didn't mean to write original i ment the code where you got 2 white paddels and 1 white ball so i when i have the code for that game can modify it to my own likeings

Share this post


Link to post
Share on other sites
Quote:
Original post by ZajferX
ohhh sorry my bad .. didn't mean to write original i ment the code where you got 2 white paddels and 1 white ball so i when i have the code for that game can modify it to my own likeings

If you are unable to program a game like Pong in under ten minutes, that's what you should be learning to do.

Share this post


Link to post
Share on other sites
Quote:

If you are unable to program a game like Pong in under ten minutes


Ahh I've been looking at a good metric for gauging the skill level of interviewees. Could this be it? I doubt I could do it to be honest. Is there some sort of school that teaches speed coding Pong?

Share this post


Link to post
Share on other sites
Quote:
Original post by asp_
Quote:

If you are unable to program a game like Pong in under ten minutes


Ahh I've been looking at a good metric for gauging the skill level of interviewees. Could this be it? I doubt I could do it to be honest. Is there some sort of school that teaches speed coding Pong?

Don't code it in C. Use something like Python + PyGame, and you should be able to hit 10 minutes.

Alternately, Sneftel's metric may only apply to the core logic of Pong, not all the graphics and input handling routines as well.

(That said, LaMothé claimed to be able to write Asteroids in an hour, because he'd done it so often...)

Share this post


Link to post
Share on other sites
I used to be able to write pong in under 10 minutes back in my day. Now it takes me just under 15.. I must be getting old.

Share this post


Link to post
Share on other sites
Quote:
Original post by asp_
Quote:

If you are unable to program a game like Pong in under ten minutes


Ahh I've been looking at a good metric for gauging the skill level of interviewees. Could this be it? I doubt I could do it to be honest. Is there some sort of school that teaches speed coding Pong?


TopCoder.

You can even get paid.

Share this post


Link to post
Share on other sites
Quote:
Original post by Oluseyi
Quote:
Original post by asp_
Quote:

If you are unable to program a game like Pong in under ten minutes


Ahh I've been looking at a good metric for gauging the skill level of interviewees. Could this be it? I doubt I could do it to be honest. Is there some sort of school that teaches speed coding Pong?

Don't code it in C. Use something like Python + PyGame, and you should be able to hit 10 minutes.


Also depends on the polish level too. Fully skinned menu UI, multiple levels of AI, scorekeeping, and a high score system? Or a pair of paddles and a ball?

Share this post


Link to post
Share on other sites
Sign in to follow this