Hello,
I understand that you need to change, to reprogram the way the opponent moves in your game.
Right now, your opponent just seems to be following the puck regardless of anything else. That is, as you said, not exactly the best way to do it. I would make the opponent act strategically, so to speak, in other words he would know how to score a goal.
I can do this very easily, as I am a highly skilled Flash/Actionscript developer. I would be happy to work on this project.