An open API service indexing awesome lists of open source software.

https://github.com/githubjakob/mcts-tictactoe-connectfour

Two Games (Tic Tac Toe and Connect Four) with a MCTS based AI opponent
https://github.com/githubjakob/mcts-tictactoe-connectfour

Last synced: about 1 year ago
JSON representation

Two Games (Tic Tac Toe and Connect Four) with a MCTS based AI opponent

Awesome Lists containing this project

README

          

# MCTS based AI opponent for TicTacToe and Connect Four
You can play the games in the terminal by running the main method. Both games take the player's input as
xy-coordinates (with the top left corner as 00). The AI opponent will then select the most promising move
based on a search tree built using Monte Carlo tree search. Specifically the MCTS implementation uses UCT in the
selection step of the algorithm.

## Credit

The implementation of the Monte Carlo Tree Search was build with help of this tutorial:
http://www.baeldung.com/java-monte-carlo-tree-search