Open matthewdking opened 6 years ago
Take a look at the minimax algorithm
https://en.wikipedia.org/wiki/Minimax
https://www.neverstopbuilding.com/blog/2013/12/13/tic-tac-toe-understanding-the-minimax-algorithm13
Take a look at the minimax algorithm