An AI TicTacToe implementation using Monte Carlo Tree Search written in C++ and SFML.
https://en.wikipedia.org/wiki/Monte_Carlo_tree_search
You can change the board size or the "X" and "O" in a row to win using GameState.h lines 12 & 13
You can download the compiled binaries for Windows x64 on the 8x8 board playing to 5 points here: https://github.com/morsisko/MCTS-TicTacToe/releases/download/1.0v/Release.zip