Here's a video of a guy playing air hockey with a robot he built. The robot tracks the puck with a camera and then uses it's harm to hit the puck away. It seems to be pretty good if a little slow. For example, it seems to have trouble recognizing when the puck is still on it's own side of the line after hitting it.