Batting Game - Did the Bat hit the Ball
[Batting Game] A B C D E F G H
Delete the three rows:
if (bally > height - balld/2) { speedy = -speedy; }
Insert before } //draw
if (350 - balld/2 < bally && bally - balld/2 < 355 && mouseX - 40 <= ballx && ballx <= mouseX + 40) { speedy = -(speedy + 2); score += 1; } // Insert F Code Here