Get the latest tech news

Solving Probabilistic Tic-Tac-Toe


his morning, I came accross Cameron Sun’s Probabilistic Tic-Tac-Toe on HN. However, the comments were disappointing, with people proposing probabilistic models, linear programming, minimax algorithms, and heuristic evaluations to develop AI approaches for the game, none of which quite correct.

However, the comments were disappointing, with people proposing probabilistic models, linear programming, minimax algorithms, and heuristic evaluations to develop AI approaches for the game, none of which quite correct. If we were to simply add neutral(c) * value(state, turn) to the above pseudo-code, we would end up with an infinite loop. There is an efficient way to solve this problem, that can generalize to any number of curves in $\mathcal{O}(N \log N)$ using some convex hull trick.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of toe

toe

Related news:

News photo

Show HN: Probabilistic Tic-Tac-Toe

News photo

Results are in: Qualcomm’s Snapdragon X Elite goes toe-to-toe with Apple’s new M3 Pro processor