The Pong Challenge

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
wildrj
Posts: 301
Joined: Thu Mar 23, 2006 12:49 am
Location: Texas/ Cyberspace
Contact:

The Pong Challenge

Post by wildrj »

Ok the day before thanksgiving i was watching a documentary on how video games became to be and it showed pong and it said how long it took him*cant remember*
I thought to myself with are current programming languages and computers could we program pong in a hour.

So I decided to take this challenge first time i tried it i failed horribley but each time after i got closer.

9th time is the charm got it the ninth time in 50 minutes so its possible.

So my challenge to everyone here is to see if you can make pong in a hour then pastebin your source so others can see :D.

*this challenge is based on the honor system plz dont steal other peoples work
and only view source to get a idea on how to do the challenge*

Requirements:
1.must have two paddles and a ball(duh)
2.paddles must be movable
3.ball must be able to go diagonal
4.some sort of collision detection
ai (optional)

Language:c++
Api:opengl
Engine:custom
Source:http://pastebin.ca/795473
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Re: The Pong Challenge

Post by rogerborg »

wildrj wrote:9th time is the charm got it the ninth time in 50 minutes so its possible.
So it only took 8 hours and 58 minutes to write? :P
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
wildrj
Posts: 301
Joined: Thu Mar 23, 2006 12:49 am
Location: Texas/ Cyberspace
Contact:

Post by wildrj »

meh each time i tried i scratched the current code and rewrote it so in my eyes it took a hour but then again i did have 8 tries to see what didnt work.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

I'm thinking in terms of "billable hours".
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
wildrj
Posts: 301
Joined: Thu Mar 23, 2006 12:49 am
Location: Texas/ Cyberspace
Contact:

Post by wildrj »

well then yeah i guess it did take that long. Id still like to see how others do on this challenge.
Post Reply