Sensors at the midway point of the table detect the angle, speed, and trajectory of the not-exactly-oncoming puck, and instructs the mechanism how and where to fire the disc -- you slap it back, and the same sequence happens on your compadre's end.
ENGADGET: Airhockey Over a Distance