function reset(){
   ball.x = width/2+100,
   ball.y = height/2+100;
   ball.dx=3;
   ball.dy =3;   
}
//function reset when ball does notcame in the contact of padde
function reset when ball does notcame in the contact of padde
function reset when ball does notcame in the contact of padde
function reset(){
   ball.x = width/2+100,
   ball.y = height/2+100;
   ball.dx=3;
   ball.dy =3;   
}
function reset ( ) { ball . x = width / 2 + 100 , ball . y = height / 2 + 100 ; ball . dx = 3 ; ball . dy = 3 ; }
function reset when ball does notcame in the contact of padde
function reset when ball does notcame in the contact of padde