[Batting Game] A B C D E F G H Insert before } //draw if (keyPressed){ score=0; ballx=200; bally = balld/2; speedx=3; speedy=2; }
if (keyPressed){ score=0; ballx=200; bally = balld/2; speedx=3; speedy=2; }