Computer hax
I have no idea how it managed to do this, but once its second turn came up, the cpu player managed to knock in every one of his balls into a pocket and win the game.
I dunno about anyone else, but a game really isn't a game if the player isn't able to play. Might want to tone down the AI for the rest of us.