Tic-Tac-Toe AI: How to Make the Tree?

Posted by cam on Stack Overflow See other posts from Stack Overflow or by cam
Published on 2010-04-30T12:04:15Z Indexed on 2010/04/30 12:07 UTC
Read the original article Hit count: 446

Filed under:
|
|

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 show me an example of how a tree should be generated for such a case? Or a good tutorial on generating trees? I guess the hard part is generating partial trees. I know how to implement generating a whole tree, but not parts of it.

© Stack Overflow or respective owner

Related posts about c++

Related posts about artificial-intelligence