# Ultimate Tic-Tac-Toe

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.

1. Each turn, you mark one of the small squares.
2. When you get three in a row on a small board, you’ve won that board.
3. 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:

1. 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!)
2. 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

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

## 433 thoughts on “Ultimate Tic-Tac-Toe”

1. This is the greatest.

Someone showed me a cool variation. instead of eliminating boards that have been won from future play, you must still go on that board if forced. However, your move doesn’t affect the outcome of that board. For example, if X wins one of the small boards, and then forces O to move on that board, instead of O getting to choose where to go, O still must go on that board. But no matter which move O makes, X remains the winner of that board.

Be warned: this variation makes the game take much longer, and it makes winning the first board critical.

2. That looks like a lot of fun! Normally tic tac toe does get boring. Will definitely play this one with my friends. Thank you for posting it:)

3. coding it!

4. I made a super-fast and super-strong computer opponent for this game here: http://www.theofekfoundation.org/games/UltimateTicTacToe/

This also includes 3 new game modes:
Anti Tic Tac Toe: The goal of the game is to make your opponent win 😛
Tie Tic Tac Toe: X still wants to win, but O wants to tie 😀
And of course, Anti Tie Tic Tac Toe, where O wants to win and X wants to tie XD

5. Pingback: nikkor.lino.press

6. Mind=Blown! Definitely gonna give this a try! 😀

7. Pingback: XOXO – Antoine Delia

8. Here is another variant. Suppose a small board is a tie. Then it counts as a win for neither player… but only at first! Now next time someone is directed to play there they become the temporary winner of that board (instead of making a move). In other words, tied boards become wins for the last player to have been directed there.

9. Pingback: 8717 | The Fifth Internet