TicTacToe - AI, using MiniMax Algorithm.
For board size above 3x3:
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.