Yes - that game was called Sabotage. You could play it with keyboard, joystick, or paddle, but paddles were the best way to win.
I remember that you lost points if you just fired indiscriminately, as well.
Here's a vid: http://www.youtube.com/watch?v=fbHW66AbzHA