Improved the AI. Winning rate is 100% now.