AI learns to play pool