Efficient algorithm for counting unique states of tic tac toe

后端 未结 6 841
抹茶落季
抹茶落季 2021-02-07 12:51

I\'m trying to build a tic tac toe game to demonstrate and experiment with machine learning algorithms, and i\'ve found an interesting problem.

eg: a tic tac toe board c

6条回答
  •  借酒劲吻你
    2021-02-07 12:55

    I think graph theory is good for this, you would have a graph with 9 vertices for the example you gave. The only thing that could still be a problem is juxtapositions.

提交回复
热议问题