Single player pong

Just created a single player pong game.Here’s the main file -
Here is the ball class -
Here’s the player class -
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.

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