Home › Fun & Games › Ultimate Tic Tac Toe

Ultimate Tic Tac Toe

Nine tic-tac-toe boards inside one big board, where every move decides where your opponent must play next. Challenge a Monte Carlo AI at three levels or pass the device to a friend.

Last updated:

You (X)0
Draws0
Computer (O)0

Your move: play anywhere

Advertisement
Advertisement

How to use the Ultimate Tic Tac Toe

  1. Choose a mode. Play vs Computer (pick Easy, Medium or Hard and whether you are X or O) or 2 players on the same device.
  2. Make the first move. X starts and may play in any of the 81 cells.
  3. Follow the highlighted board. The cell you choose inside a small board sends your opponent to the matching small board.
  4. Win small boards by getting three in a row inside them; a won board shows a big X or O and is closed.
  5. Win three small boards in a row to win the game. Use Undo or Show hint whenever you are stuck.

Ultimate Tic Tac Toe rules at a glance

SituationWhat happens
First move of the gameX may play in any of the 81 cells.
You play in cell position N of a small boardYour opponent must play in small board N (same position on the big board).
Three in a row inside a small boardThat board is won and closed; it counts as one mark on the big board.
A small board fills up with no winnerIt is closed as a draw and belongs to nobody.
You are sent to a closed boardYou may play in any open small board.
Three won small boards in a rowThat player wins the whole game.
All boards closed, no line of threeThe game is a draw.

Strategy tips

  • Every move is two decisions: where you mark inside a board, and which board you hand to your opponent. A great local move can be a bad move if it sends them where they win immediately.
  • The center board is the most valuable: it belongs to four of the eight winning lines on the big board, the corners to three and the edges to two. The same weighting applies inside each small board.
  • Send your opponent to finished boards carefully: a move that sends them to a closed board gives them a free choice anywhere, which is often a gift.
  • Sacrifice small boards: letting your opponent win a board that is not on a useful line can be fine if it keeps them out of the boards that matter.
  • Use the hint: the hint runs the same Monte Carlo search as the computer and highlights the move it likes best, which is a good way to learn patterns.

How the Monte Carlo AI works

Monte Carlo tree search repeats four steps thousands of times: selection walks down the tree choosing moves with the UCT formula (average result + c·√(ln parent visits ÷ child visits)), expansion adds one new move, simulation plays the rest of the game with fast semi-random moves, and backpropagation records the result along the path. The move visited most often is played. More thinking time means more simulations, which is why Hard is noticeably stronger than Easy.

Frequently asked questions

What are the rules of Ultimate Tic Tac Toe?

The board is a 3×3 grid of small tic-tac-toe boards. X moves first anywhere. After that, each move must be made in the small board that matches the position of the previous move inside its small board: a move in the top-left cell sends the opponent to the top-left board. Three in a row inside a small board wins that board, and three won boards in a row wins the game.

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

Then you may play in any small board that is still open. This tool uses that common rule, and closed boards cannot receive further moves, so every small board has a single owner.

How does the computer opponent think?

It uses Monte Carlo tree search (MCTS): it plays out thousands of quick random games from the current position, keeps statistics on which moves lead to wins, and focuses its search on the most promising moves with the UCT formula. Hard simulates for about 1.8 seconds per move, Medium for 0.7 seconds and Easy for a fraction of that, plus some random moves.

Is Ultimate Tic Tac Toe solved like normal tic-tac-toe?

Normal tic-tac-toe is a known draw with perfect play. Ultimate Tic Tac Toe has vastly more positions, and under the rules used here it has not been fully solved by brute force, so strategy and reading ahead really matter.

Can a game end in a draw?

Yes. If every small board is won or full and no player has three won boards in a row, the game is a draw. Some players use a tiebreak that counts won boards, but this tool scores it as a draw.

What is a good strategy?

Avoid sending your opponent to a board where they can win immediately or to the center board early. Think about where each move sends the other player, try to force them into boards that are already decided, and aim to win the center and corner small boards because they belong to the most winning lines.

Is my game saved?

Only your settings and the scoreboard are saved in your browser's local storage on this device. Nothing is sent to a server.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Tic Tac ToePlay tic tac toe against an unbeatable AI or a friend.GomokuGet five in a row on a 15×15 board against a smart computer or a friend.Connect FourPlay Connect 4 online against the computer or a friend.Dots and BoxesPlay Dots and Boxes online vs a smart computer or a friend, on boards from 3×3 to 8×8.SolitairePlay classic Klondike Solitaire with Draw 1 or Draw 3 and undo.Spider SolitairePlay Spider Solitaire online with 1, 2 or 4 suits, hints, unlimited undo and a timer.Play Chess vs ComputerPlay chess online against the computer at 8 difficulty levels.Snake GamePlay classic Snake online with speeds, wall modes and high scores.Block Puzzle GameClassic falling blocks puzzle game with levels and high score.MinesweeperPlay classic Minesweeper: 3 difficulties, flags, timer and a safe first click.2048 GamePlay 2048 online with swipe controls, undo and best score.Sudoku OnlinePlay free Sudoku with 4 difficulty levels, notes, hints and a timer.Word Guess GameGuess the hidden five-letter word in six tries. Unlimited games, stats and hard mode.HangmanClassic friendly hangman word game with categories, hints and difficulty levels.Memory Card GameFlip cards and match emoji pairs on 4×3 to 6×6 grids, with moves, timer and best scores.Flappy GameTap to flap a round chick through bamboo gaps and beat your high score.Dino Runner GameJump cacti and duck buzzing beetles in an original endless desert runner.Typing GameType the falling words before they land; level up and track your WPM and accuracy.Math Quiz GameTimed mental math rounds with four operations, five levels, streaks and high scores.Flag QuizGuess the flags of all 196 countries in four modes, from multiple choice to timed.Map QuizFind countries on a clickable world map or name the highlighted one, by continent.Periodic Table QuizLearn all 118 elements: quiz symbols, names and atomic numbers or click them on the table.Spelling Bee GameMake words from 7 honeycomb letters, always using the center letter. New daily puzzle.Jigsaw PuzzleTurn a sample picture or your own photo into a 12 to 150 piece jigsaw puzzle and solve it.Sliding PuzzlePlay the 15 puzzle and 3×3 to 6×6 sliding tile puzzles with numbers or your own photo.Mahjong SolitaireMatch pairs of free tiles to clear the Turtle and two smaller layouts, with hints, shuffle and undo.Scrabble Word FinderFind the highest-scoring words from your rack, with blank tiles, patterns and bingo bonus.Wordle SolverEnter your guesses and colours to see every possible answer and the best next guess.Crossword SolverFind words that fit a crossword pattern like c?t from the length and the letters you know.Word Search GeneratorMake a word search puzzle from your words, play it online or print it with an answer key.Pong GamePlay classic Pong online against the computer on 3 levels or with a friend, first to 11.Breakout GameClassic brick breaker game with levels, power-ups and lives. Play with mouse, touch or keyboard.Whack-a-MoleWhack the moles before they hide in 30 or 60 second rounds. Speed increases, best score saved.Simon Says GameRepeat the growing color and sound sequence. Classic memory game with strict mode and high score.CheckersPlay checkers online against the computer or a friend, with kings, undo and hints.ReversiPlay Reversi (Othello rules) online vs a 3-level computer or a friend, with move hints.Battleship GamePlace your fleet and sink the computer's ships in this classic naval guessing game.FreeCellPlay FreeCell solitaire online with the classic numbered deals, undo, hints and auto-move.War Card GamePlay the classic War card game vs the computer: flip cards, fight wars, auto-play at any speed.Word Connect GameSwipe letters on a wheel to make words and fill the mini crossword. Hundreds of levels, hints, coins.Word Scramble GameUnscramble jumbled words against the clock. Pick a theme and difficulty, build streaks, use hints.Word Tile Game vs ComputerPlay a crossword board game against the computer: premium squares, tile bag, scoring, dictionary.Chinese Chess (Xiangqi)Play Chinese chess vs the computer at 5 levels or with a friend, with legal move highlights.Mastermind GameCrack the secret 4-color code in 10 tries using black and white feedback pegs.Tower of HanoiPlay the Tower of Hanoi puzzle with 3 to 8 disks, or watch it solve itself in the fewest moves.Maze GeneratorCreate random mazes in any size, solve them with the arrow keys, then print or save as PNG.Sudoku SolverType in any Sudoku and solve it instantly, get step-by-step hints and check it has one solution.Bingo Card GeneratorMake printable 75-ball or custom word bingo cards, from 1 to 200 unique cards, as PDF or print.Bingo Number GeneratorFree bingo caller for 75 or 90 balls with a live board, auto-call timer and spoken numbers.Online ScoreboardKeep score for any game: big team scores, game clock, periods, fullscreen and sport presets.Trivia Quiz300+ general knowledge trivia questions in 10 categories. 10-question rounds with a timer and score.Random Riddle Generator150+ riddles with hidden answers in easy, hard and kids levels. Guess, get a hint or reveal.Nonogram PuzzlePlay unlimited nonogram (picross) puzzles from 5×5 to 15×15, each with one unique solution.Crossword Puzzle MakerTurn a list of words and clues into a crossword you can play online, share or print.Pyramid SolitairePlay Pyramid Solitaire online: pair cards that add up to 13 and clear the pyramid.Yacht Dice GamePlay the classic 5-dice scoring game solo for a high score or against a friend.MancalaPlay Mancala (Kalah rules) online against a smart computer or a friend on one screen.Lights Out GameTurn off every light in the classic 5x5 puzzle, with solvable random boards and a solver.BackgammonPlay backgammon online vs the computer or a friend, with doubling cube, undo and match scoring.Bubble Shooter GameAim, bounce and match 3 or more colored bubbles to pop them before the ceiling comes down.World Capitals QuizGuess the capital city of every country, by region, with multiple choice or typed answers.Categories Game GeneratorRandom letter and 12 categories from a 700+ pool, with round timer, printable sheets and scores.Chinese CheckersPlay Chinese checkers on a star board for 2, 3, 4 or 6 players, against friends or the computer.3x3 Cube SolverPaint your scrambled 3x3 cube and get a short step-by-step solution with a 3D animation.Dominoes GamePlay draw or block dominoes with a double-six set against 1 to 3 computer players.Emoji QuizGuess the word, phrase, animal, food or movie from emoji clues. 370+ puzzles with hints.Funny Fill-in-the-Blank Story GeneratorWord game: fill in nouns, verbs and adjectives without seeing the story, then reveal it.Golf SolitairePlay Golf Solitaire online: clear 7 columns by playing cards one rank up or down. 9-hole scoring.
See all 141 Online Games →