collision Y


    
    function collisionY(){
      //check if at top of playing area
      if(ballTop < 4)
        return true;
      //check to see if ball collided with paddle
      if(ballTop > 450){
        if(ballLeft > paddleLeft && ballLeft < paddleLeft + 64)
          return true;
      }
      return false;
    }