*Updated 7/16/2013 – See Original Here*

Once at a picnic, I saw mathematicians crowding around the last game I would have expected: Tic-tac-toe.

As you may have discovered yourself, tic-tac-toe is terminally dull. There’s no room for creativity or insight. Good players always tie. Games inevitably go something like this:

But the mathematicians at the picnic played a more sophisticated version. In each square of their tic-tac-toe board, they’d drawn a smaller board:

As I watched, the basic rules emerged quickly.

- Each turn, you mark one of the small squares.
- When you get three in a row on a small board, you’ve won that board.
- To win the game, you need to win three small boards in a row.

But it took a while for the most important rule in the game to dawn on me:

**You don’t get to pick which of the nine boards to play on. **That’s determined by your opponent’s previous move.** Whichever square he picks, that’s the board you must play in next. **(And whichever square

*you*pick will determine which board

*he*plays on next.) For example, if I go here…

Then your next move must be here…

This lends the game a strategic element. You can’t just focus on the little board. You’ve got to consider where your move will send your opponent, and where his next move will send you, and so on.

The resulting scenarios look bizarre. Players seem to move randomly, missing easy two- and three-in-a-rows. But there’s a method to the madness – they’re thinking ahead to future moves, wary of setting up their opponent on prime real estate. It is, in short, vastly more interesting than regular tic-tac-toe.

A few clarifying rules are necessary:

*What if my opponent sends me to a board that’s already been won?*In that case, congratulations – you get to go anywhere you like, on any of the other boards. (This means you should avoid sending your opponent to an already-won board!)*What if one of the small boards results in a tie?*I recommend that the board counts for**neither**X nor O. But, if you feel like a crazy variant, you could agree before the game to count a tied board for**both**X and O.

When I see my students playing tic-tac-toe, I resist the urge to roll my eyes, and I teach them this game instead. You could argue that it builds mathematical skills (deductive reasoning, conditional thinking, the geometric concept of similarity), but who cares? It’s a good game in any case.

Anyway, that’s Ultimate Tic-Tac-Toe. Go play! Let me know how it goes!

*11/18/13: See the follow-up post!*

*A Partial List of Online Versions and Apps
(Check Comments Below for Others)*

**Tic Tac Toe Ten****Ultimate Tic-Tac-Toe**

**XO9****Nikhil Baliga****Niek Haarman****Kongregate****Inception Tic Tac Toe****Khan Academy**(open-source online version)**Live-coding**of an online version*French, with English subtitles*)**C code**for a strong artificial intelligence

*While you’re here, check out Math Experts Split the Check and the epic rhyming proof-poem A Fight with Euclid.*

Reblogged this on nantuckettiechic.

Yet another implementation with a monte-carlo AI: https://openrepos.net/content/bzar/ultimate-tictactoe

Can this be called Tic-Tac-Toe-Duko? Due to the 9 by 9 grid.

Pingback: [reddit] Saved: A playable version of tic tac toe | beefviper

This doesn’t teach any type of mathematical thinking.

It’s a good visualization, calculation, and pattern recognition exercise.

These aren’t just not mathematics oriented thinking skills. They aren’t even generally useful. They would help you in chess or other games of perfect information.

That is all. I won’t discuss this further.

Ah, I was wondering where your weirdly dismissive attitude came from, and then I saw that I’m getting lots of hits from Reddit – the home of dismissive superiority!

In fairness, though, I partly agree. I myself wouldn’t have posted this to r/math, for roughly the reason you give. The game tastes a little of math, but doesn’t have most of the nutrients.

(I will say, though, that the attitude that computation has nothing to do with mathematics seems to be a view unique to pure mathematicians. Sure, computation is not particularly central or high-level in mathematics, and it’s not my favorite part to teach. But you can’t succeed in any mathematical pursuit without at least basic computational skills.)

Reblogged this on Social Anxiety, Maths, and an endless pursuit of happiness..

I dont’t understand the rules. “You don’t get to pick which of the nine boards to play on. That’s determined by your opponent’s previous move. Whichever square he picks, that’s the board you must play in next.” so I pick and play board number 3…so opponent must answer by playing on board 3…oh I must answer by playing in board 3 since my opponents last move was in board 3..etc…you just go trough all the boards one by one…I really don’t understand how you can “send” your opponent to any board except the first time you play in first turn of the game or when a board is resolved. I must be missing something …but also pictures made no sense … If i number boards (from left to right and from up to down) … then there was one mark in board 4 and you were supposed to answer in board 3..even though rules say: “You don’t get to pick which of the nine boards to play on. That’s determined by your opponent’s previous move. Whichever square he picks, that’s the board you must play in next.” so can someone explain that part to me.

Each square of the board you’re playing is representative of one of the 9 boards in the grid. So to use your counting and the example above, he played in BOARD 4 and picked square 3 (top right corner) which means his opponent has to play in BOARD 3 (top right corner).

First move: middle board, middle square. The game then stays in the middle board.

Väinö. Sä et voi itse valita mitä ruudukkoa pelaat.

“You don’t get to pick which of the nine boards to play on. That’s determined by your opponent’s previous move. Whichever square he picks, that’s the board you must play in next.”

Normally, I’d use a drawing to explain something, but there is a drawing right there and you still can’t work it out. Wow, I’m impressed.

Pingback: Ultimate Tic-Tac-Toe | Mr. Riley's Science

In normal 3×3 version there is a pattern that if you start on middle, you can’t lose. If the opponets first move is to corner, it ends up in tie and if he puts in the middle of row or column starter wins. I wonder does this pattern also work with this 9x3x3 version?

Of course the pattern works on this version as well. 3*3 game is always utterly pointless if neither side is a total noob or a otherwise just dumb.

No wonder trash-peasants like you didn’t even understand the rules of the game. It’s not the same as 9x 3×3.

I understand perfectly, and the fact that it is in fact 3×3 table means, that there is always a spot where I am supposed to put my mark in order to win it or at least tie it. The game works only if your stupid or ignorant, so.. congrats. You’ve got yourself an exiting game I suppose.

This is so shit. It is exactly the same as playing a couple of normal 3×3 games which then you aggregate…all you’re doing extra is keeping in mind the priority of the larger square you’re on. Shit game.

No wonder trash-peasants like you didn’t even understand the rules of the game. It’s not the same as 9x 3×3.

Not at all. Depending on your opponent’s moves, you might get many more moves in a particular board than they do. The most important rule is about where your next move has to be made.

Pingback: Ultimate Tic-Tac-Toe | Board Games Weekly

Mobile implementations (AI + online mode):

Android:

https://play.google.com/store/apps/details?id=com.KoszowLabs.TicTacToeUltimate

iOS (as part of the bundle):

https://itunes.apple.com/us/app/rebel-island-online/id925696221

I’ve designed a board game version, http://www.playsquared.ie

For those having trouble understanding the rules, here’s a quick tutorial http://vimeo.com/106866981

Thanks for sharing the game, Ben!

-Karl

In the process of finalizing development of a free multiplayer(or AI) web based version.

It can currently be found at superttt.2dio.com

Hi all,

We have recently released Tic & Toe – http://ticandtoe.com/, a multiplayer, responsive, web based implementation with social features! We’d be excited to hear what you think!

Edgar

Pingback: Tic-Tac-Toe | rareOS

Pingback: Tris reforged, spiegato bene

Pingback: Websites You Should Check Out for Fascinating Reasons… | dancingpurpletrees

Pingback: Game – Ultimate Tic Tac Toe |

Pingback: School Kit » Ideas to Steal: It’s Tic Tac Toe but Not As We Know It

I still need to understand how your opponent’s first move determines which board you play in next. A clearer explanation would help here. My thinking is that the two players will win and lose a board before deciding to move on to another board.

Pingback: Download Ultimate Tic Tac Toe | Android App & Game

http://cinemassacre.com/2015/02/20/3-d-tic-tac-toe-atari-2600-review-by-mike/

Pingback: Numeracy Skills Bootcamp | Anthony J. Evans

Using math just made tic tac toe less enjoyable and more headache-inducing.

Hello, colleagues mathematicians.

There is a complex 3D implementation of TIC-TAC-TOE game on Steam.

Try it against AI or against another colleague.

http://steamcommunity.com/sharedfiles/filedetails/?id=243159203

Thank you very much:)

P.S. Don’t forget to vote for game on Steam Greenlight if you like it.

I liked this game alot, so I remade it on a ti-84 plus calculator, now we can play it during maths :-)