The Code Kitchen

In The Beginning There Was: Pong

Requires Mac OS X 10.5 (Leopard) and Apple Safari. Yeah.

Download Source

Hard-coding the velocities and limiting the animation rate to 30 frames per second has not worked all that well (not surprising, locking the logic rate to the rendering frame rate is always asking for trouble). You can see how the speed of the ball and paddles isn't consistent. So fixed rate logic is out. Delta-based animation is in for the next project.

Comments? Feedback? Drop me a line.

The Code Kitchen is a software consulting business run by me, Brian Palmer. But this site is really about whatever catches my interest.

Questions or Feedback? Email Brian.

Macadamia Cookies

cookiesLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

go to recipe