TicTacToe - AI, using MinMax Algorithm.
For board dimension above 3:
Turn on Alphabeta Prunning and Depth restriction, or you can Edit State until fewer(lesser or equal to 9) empty cells left, or else it will freeze your browser.
Dimension above 3 is just for demonstration purposes.