Tic-Tac-Toe Minimax AI

I've created an AI that can't be beaten... I think? It uses the minimax algorithm to pick the move that will win. If there isn't a winning move, it will pick a drawing move. Please let me know if you beat it and how!

You are viewing a single comment. View All

I beat it because I could put my x on top of its o


@henryspare24 Shhhh :D I think that's the only way to beat it...


I fixed the bug so now your technique shouldn't work ;)