Tic Tac Toe with adaptive difficulty AI


Hello fellow TOP peeps!

I have after a few long weeks, finally had time to finish my Tic Tac Toe, with AI!


Building the base game was quite simple and i initially thought adding AI wouldn’t be a stretch at all, but i was wrong! It took quite some thinking about how i could achieve this in a pleasingly programmatical way.

My favourite part is its adaptive difficulty setting. When you win too much or draw too often it will change how it plays (become more random or more pro).

Its nowhere near perfect but any feedback would be awesome! I’m truly sick of the sight of this source but have learned more than i could imagine from doing this side challenge.

Thanks guys!