>>/956337/
You can do anything you want with AI, but it would require a lot of computation. The AI would need to keep repeating the game when it fails and it keeps evaluating each sequence of moves.