Flag to reset and space to start. When you click space the ball will go towards the mouse pointer. Your aim is to make the ball touch the batter.
It took me 5 to 10 minutes to code this. No bad comments!