Use arrow keys and mouse pointer to try and defeat the opponent. First person to reach 11 points wins! Once you reach the second level, two balls will appear. The third and final level will increase the speed of the balls.
I learned that when making long scripts, it is easier to \write down your goal and then transfer your steps to code. That way when making code, it is easier to do trial and error.