AI for a ball-pushing game

I badly need some help! I have a game where the goal of the game is to push balls through a wall. I need help designing an AI for the game. Right now I have an AI that moves randomly, but I found out that the numbers are not random.
Thanks,
Simron
Thanks,
Simron