This project implements the Monte Carlo Tree Search (MCTS) algorithm in Java for two games:
- Tic-Tac-Toe
- 2048
The goal is to demonstrate how MCTS can be applied to both games through simulation-based decision making.
Make sure you have Maven and Java installed.
cd MCTS
mvn compilemvn exec:java -Dexec.mainClass="com.phasmidsoftware.dsaipg.projects.mcts.tictactoe.GameLauncher"mvn exec:java -Dexec.mainClass="com.phasmidsoftware.dsaipg.projects.mcts.game2048.GameLauncher"For detailed discussion, benchmarking results, and simulation analysis, please refer to the report file in this repository.