building a bot for shooting a ping pong ball