What algorithms are available to solve Tic Tac Toe? Especially with board size 4 * 4 or bigger instead of 3 * 3? I tried 4 * 4 with Minimax & alpha-beta pruning but the pc seems to hang and throws exceptions on stack overflow. I saw these source code written in javascript but I don t know which algorithm it uses, could anyone clarify it for me? http://js-x.com/page/javascripts__example.html?view=153
So I have been coding tic tac toe, but the issue is once one side gets 3, the function won t register and the code continues. Can anyone give me insight to why this is happening? I ran the code ...