basic physics. the ball will point to the cursor and if you click the ball randomly will go to the the direction and you have to hit the box for a score and the ai bot is trying to battle you
i thought duh!