Tic-tac-toe Collection

  • FREE Tic-tac-toe game
  • Thousands of game variations
  • Cross-platform WiFi multiplayer
  • AI with variable difficulty
  • Single player campaign
Home screen on iOS in 0.16.2

Tic-tac-toe Collection is now available to download for iPhone and iPad on the App Store.

All existing game modes and features are available, including cross-platform multiplayer.

Prime is not yet supported, but will be coming soon.

Tuesday, April 9, 2019 Tue, Apr 9, 2019 09 Apr '19
Announcements

After a long hiatus, this release is mainly about cleaning things up internally before more serious work begins. However, the following should be apparent:

  • Fixed in-app purchases not working for some users.
  • Fixed “Setup local game” part of modify game flow.
  • Fixed “Quickplay” with human players in modify game flow.
  • Hide AI thinking details while panning or zooming to improve performance.
  • No longer show the AI as “thinking” when browsing a game’s history.
  • Improved startup performance.
Sunday, August 11, 2019 Sun, Aug 11, 2019 11 Aug '19
Release notes

The server component for Tic-tac-toe Collection has always been based on Azure Functions, a serverless compute platform by Microsoft. It is currently used to run the cloud AI and the game simulation used for fairness estimation, and does this by running the exact same code as the app. And, pretty much like the blog, deploying it was a slightly error-prone mostly manual process.

But like the blog, I’ve automated the deployment using an Azure pipeline.

The first update deployed with the new system is an improvement to the fairness estimation.

Estimating fairness

The fairness estimation is performed by simulating a game for a few moves, and then seeing how each of the AI rates its best possible next move. A big problem with this method is that the AI is probabilistic, so for a single simulation it is unlikely to be accurate (and some times it will end up being terrible). And, since the result for each combination of settings is cached, if an estimate is bad, it will stay bad.

With the update however, each subsequent request for a fairness estimation queues another one to run, and the results are averaged. So hopefully over time the estimation will actually become accurate.

Considering draws

Another change is draws are now considered. For example, previously, the estimation for standard tic-tac-toe gave the first player a score of 0.91 (on a scale of 0 - 1). Which more or less means a 91% chance of winning, assuming draws aren’t possible. Now, the first player gets a score of 0.68, which is closer to what your intuition would suggest your chances of winning tic-tac-toe is.

Thursday, September 19, 2019 Thu, Sep 19, 2019 19 Sep '19
Technical