chalkX[ii]=chalkX[ii]-chalkXSpeed;//making the chalk move across the screen
chalkX[ii]=chalkX[ii]-chalkXSpeed;//making the chalk move across the screen from right to left
if(chalkX[ii]<0)
{
chalkPassed++;
@@ -184,11 +195,12 @@ public class ChalkGameClass extends View {
chalkY[ii]=(int)Math.floor(Math.random()*((maxplayerY+player[0].getHeight())-chalk[0].getHeight()))+chalk[0].getHeight();//making the chalk appear at random heights