use the arrow keys to change the power and use "a" and "d" to change the angle. Press the spacebar to shoot the ball. "r" to restart.
all scripting and drawing done by me.