I'm really not sure of this, but I think that the program that was a few mere lines of code was the contraption that pointed itself at the goal as he moved it around. The magnet-looking ball lobber that Woddie's buds made looked to be aimed manually. It would be possible to triangulate the goal's position by using the reflection of the tape near the top of the goal and the strip around the upper platform - u have your three points and then that trig starts coming back to haunt you
