A very hard to beat tic tac toe AI that calculates all possible moves and chooses the best option for its chance in winning.
The computer uses the minimax algorithm to determine the best possible move.
I coded this in an hour on a plane. share any bugs or if you're able to beat the computer