Harder for humans, but easy to make a really strong AI for this. Even overcounting because of illegal board states (multiple winners) and not even bothering to eliminate symmetries, there are at most 2 * 3^9 = 39366 board states. There are cycles in the board state graph, although they are of a very specific form (the only kind of cycle that exists is for board B with O and X alternating turns). So it is probably pos…
WRT to computing an exact solution, something something markov chains, transition matrices, eigenvalues. I think it is tractable
Show HN: Probabilistic Tic-Tac-Toe
41–50 of 113 posts
Re: Show HN: Probabilistic Tic-Tac-Toe
#42Harder for humans, but easy to make a really strong AI for this. Even overcounting because of illegal board states (multiple winners) and not even bothering to eliminate symmetries, there are at most 2 * 3^9 = 39366 board states. There are cycles in the board state graph, although they are of a very specific form (the only kind of cycle that exists is for board B with O and X alternating turns). So it is probably pos…
IDK if it's just me, but I went 6-0. Is something wrong with the computer player logic?
Re: Show HN: Probabilistic Tic-Tac-Toe
#43Nice! UI suggestion: show the probabilities for a move as a point in a triangle, with your outcome labels on the vertices. (Or maybe as red/green/neutral colors in the triangle's interior.) This representation is called the "probability simplex". It would look less busy, quicker to scan, I think.
Or a pie chart.
Re: Show HN: Probabilistic Tic-Tac-Toe
#44Harder for humans, but easy to make a really strong AI for this. Even overcounting because of illegal board states (multiple winners) and not even bothering to eliminate symmetries, there are at most 2 * 3^9 = 39366 board states. There are cycles in the board state graph, although they are of a very specific form (the only kind of cycle that exists is for board B with O and X alternating turns). So it is probably pos…
>Harder for humans IDK if it's just me, but I went 6-0. Is something wrong with the computer player logic?
Re: Show HN: Probabilistic Tic-Tac-Toe
#45Earlier quoted context omitted.
WRT to computing an exact solution, something something markov chains, transition matrices, eigenvalues. I think it is tractable
Usually those are for additive/linear systems, the problem with game theoretic graphs like these is that you alternate between max and min nodes, so the system is highly nonlinear.
I'll work on the simpler problem of :) / :( first. I think that can be done with just minimax
And then maybe win chance for each possible state of a purely random game
Re: Show HN: Probabilistic Tic-Tac-Toe
#46Another interesting variant is incomplete information Tic Tac Toe which was posted by SMBC: https://www.smbc-comics.com/comic/incomplete
Re: Show HN: Probabilistic Tic-Tac-Toe
#47Earlier quoted context omitted.
Usually those are for additive/linear systems, the problem with game theoretic graphs like these is that you alternate between max and min nodes, so the system is highly nonlinear.
You're right. I'll work on the simpler problem of :) / :( first. I think that can be done with just minimax And then maybe win chance for each possible state of a purely random game
Re: Show HN: Probabilistic Tic-Tac-Toe
#48Harder for humans, but easy to make a really strong AI for this. Even overcounting because of illegal board states (multiple winners) and not even bothering to eliminate symmetries, there are at most 2 * 3^9 = 39366 board states. There are cycles in the board state graph, although they are of a very specific form (the only kind of cycle that exists is for board B with O and X alternating turns). So it is probably pos…
Since chance is involved, you will basically never want to do anything but the greediest highest value next action. Sometimes more than half the board has net value of 0 or less which makes them very easy to ignore.
Re: Show HN: Probabilistic Tic-Tac-Toe
#49Re: Show HN: Probabilistic Tic-Tac-Toe
#50I was wondering if I maybe experienced a bug. Do you shortcut drawn games when neither player can win?)
Yes, those should go straight to a "Tie" result.