Just created a single player pong game.Here’s the main file - https://gist.github.com/2011941
Here is the ball class - https://gist.github.com/2011951
Here’s the player class - https://gist.github.com/2011945
This version is really buggy because I couldn’t code a lot.Hope to upload a fixed version.
I couldn’t take part in the competition because I couldn’t code for a while.My annual exams were going on.
-Ajay
Thanks. Works for me, and I figured out how to beat the computer - make it run… !
Add this line to the top of “main” and it locks the iPad in landscape mode for your game
supportedOrientations(LANDSCAPE_ANY)