Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Single player pong

edited March 2012 in Code Sharing Posts: 2

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

Comments

  • Posts: 384

    Thanks. Works for me, and I figured out how to beat the computer - make it run... !

  • Posts: 6

    Add this line to the top of "main" and it locks the iPad in landscape mode for your game

    supportedOrientations(LANDSCAPE_ANY)
    
Sign In or Register to comment.