An unbeatable AI tic-tac-toe game using the min-max algorithm. Uses alpha-beta pruning to decrease the number of nodes that are evaluated by the min-max algorithm in its search tree and depth in score for smarter moves making the AI fast.
- Install a cpp compiler
- Open commmand prompt in the folder where program is saved
g++ tictactoe.cpp
then./a
- Install a cpp compiler
- Open terminal in the folder where program is saved
g++ tictactoe.cpp
then./a.out