Unbeatable Tic-Tac-Toe
The game is built using the Minimax algorithm which is a backtracking algorithm. The system computes all possible future variations of the board and selects the best move to play based on a score.
Build and Run
Compile using GCC or other C compiler and run
$ gcc -O3 main.c && ./a
References
- TowardsDataScience
- GeeksForGeeks
- The Coding Train
- Sebastian Lague [Highly Recommended]