Here is Mintonet. The robot is created to be used in pairs, but you can also build just one and practice your shooting with a box. The robot works with plastic balls between 5 and 7 cm. Using the ultrasonic sensor it can detect either its partner or a box and then it shoots. How many balls can you score?