ULTIMATE TIC-TAC-TOE

Nine boards inside a tenth — and your move decides where your opponent plays
Opponent
You are
X to move — play anywhere
Gold outline = the board(s) you may play in. Win a small board to claim its cell on the big board.

Ultimate Tic-Tac-Toe

Ultimate Tic-Tac-Toe takes the game everyone finds boring by age eight and makes it genuinely deep, using one extra rule. Nine tic-tac-toe boards sit in a 3×3 arrangement. Win a small board and you claim its cell on the big board; claim three big-board cells in a line and you win the game. The rule that changes everything: the cell you play inside a small board decides which small board your opponent must play in next.

How to play

The three opponents

LevelSearchCharacter
Casual2 plies, loose move choiceWins small boards it happens to be in. Rarely builds toward a big-board line, and will send you somewhere useful by accident.
Tactician4 plies, alpha-betaSees where its move sends you and avoids giving away free moves. It will spot a two-board threat.
Strategistup to 7 plies, iterative deepening in a 3-second budgetPlays the big board. It will deliberately lose a small board to set up a meta-board line, and it punishes a careless free move immediately.

Strategy: it is not nine games, it is one

The instinct is to win the small board in front of you. That instinct is wrong often enough to lose games. Three ideas do most of the work:

A common opening is the centre cell of the centre board: it takes the best square of the best board, and it sends your opponent right back into the centre board where you already have a mark.

How big is the game, really?

Ordinary tic-tac-toe has 26,830 reachable positions — a browser can search all of them before you lift your finger, which is why the classic game here has a genuinely unbeatable setting. Ultimate Tic-Tac-Toe has an estimated state space around 1038. No exhaustive search is possible, so an engine must evaluate positions it cannot finish reading.

The evaluation used here is layered: claimed boards weighted by where they sit on the big board, then two-in-a-row threats on the big board, then a heavily discounted term for control inside boards still in play, plus an explicit penalty for handing over a free move. That last term exists because the cost of a free move usually lands just beyond the search horizon — the search cannot see it, so it has to be told.

Frequently asked questions

What are the rules of Ultimate Tic-Tac-Toe?

Nine boards in a 3×3 grid. Win a small board to claim that cell of the big board; three claimed cells in a row wins. The cell you play within a small board dictates which board your opponent plays in next; if that board is finished, they may play anywhere.

Is Ultimate Tic-Tac-Toe solved?

No. The state space is roughly 1038, far past exhaustive search. Strong play comes from heuristic search or Monte Carlo tree search, not from a lookup table — which is precisely why the game stays interesting when plain tic-tac-toe does not.

What happens if I am sent to a board that is already won?

You may play in any board still open. Because this is such a strong position, avoiding giving one away is one of the central skills of the game.

Does a drawn small board count for anyone?

No. A small board that fills with no three-in-a-row is dead — it counts for neither player and can never be part of a big-board line. It still blocks that cell, so it can spoil a line you were building.

What is the best opening move?

Centre cell of the centre board is the standard choice: strongest square, strongest board, and it returns your opponent to a board where you already have a mark. Corner-of-centre is the usual alternative if you would rather avoid the well-known lines.

Related games

Discussion

Sign in with GitHub to share strategies, ask questions, or report a bug.