I\'m having a huge block trying to understand \"trees\" while making a Tic-Tac-Toe bot. I understand the concept, but I can\'t figure out to implement them.
Can someone
You might find this codeproject article interesting :
Solve Tic Tac Toe with the MiniMax algorithm
It's in C#, but it won't be any problem to adapt it in C++.
This article was also a good read for me when I tried to implement my first Tic-Tac-Toe game in C++ :
Minimax Explained