Optimised Unbeatable AI
I made my original AI considerably smarter and also slightly stupider at the same time.
Comparing this to the original repl (https://replit.com/@Classfied3D/Unbeatable-AI) gameplay-wise, you can't see very much difference... However, the AI is smarter if you let it go first and then go in the middle...
Programming-wise, however, are a lot of differences... For example it now assumes that the opponent will always block unless they can win... This means that the AI will now look at more possible forks, than possible wins... While this makes the AI smarter, it also makes it a bit stupider, because it will now give up early, if there are no more folk opportunities...
Ignore the different draw and lose chances... they are different because they are now for a 'proper' player, rather than a random player...
Stats*:
- Generation time: ~2 minutes 35 seconds (+30% speed)
- Cooldown time: 5 seconds
- Upload time: ~0.1 seconds
- Download time:
*As of a normal plan on replit without boosts