๐ Monte Carlo Tree Search : Tic Tac Toe application ๐
Graphic toy written in C++/Qt that implements a bot that can play Tic Tac Toe.
Under the hood, it uses the mcts library that provides a framework to apply MCTS to concrete problems.
Dependencies :
- Qt5 (Qt5::Widgets Qt5::Svg packages)
- mcts (as a submodule)
Start by getting the sources :
[~/git] git clone https://github.com/MericLuc/mcts-tic-tac-toe.git
[~/git] git submodule update --init --recursive
Then, the easiest way to build is to use it as a QtCreator project.
Otherwise, you can build from command-line using cmake and defining a bunch of Qt related variables.
It should be something like that (not garanteed) :
[~/builds] cmake -S ${PATH_TO_PROJECT} -B ${PATH_TO_BUILD} -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=${PATH_TO_QT_INSTALL}
[~/builds] make
Play in your browser using a webassembly compiled version.
This application is inspired by This project that does pretty much the same, but better. ๐
If you are interrested by this application, you should definitely check it out.