An AI TicTacToe implementation using Monte Carlo Tree Search written in C++ and SFML.
https://en.wikipedia.org/wiki/Monte_Carlo_tree_search
Tested on Windows and Linux using SFML 2.5
Open project, set correct SFML include and library path, build
If you installed your SFML in non-standard folder you need to edit the very first lines of Makefile to set correct SFML path. Otherwise just type make
in your shell.
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