Ultimate Tic-tac-toe
   HOME

TheInfoList



OR:

Ultimate tic-tac-toe (also known as UTT, super tic-tac-toe, meta tic-tac-toe, (tic-tac-toe)², strategic tic-tac-toe, or Ultimate Noughts and Crosses) is a board game composed of nine
tic-tac-toe Tic-tac-toe (American English), noughts and crosses (English in the Commonwealth of Nations, Commonwealth English), or Xs and Os (Canadian English, Canadian or Hiberno-English, Irish English) is a paper-and-pencil game for two players who ta ...
boards arranged in a 3 × 3 grid. Players take turns playing on the smaller tic-tac-toe boards until one of them wins on the larger board. Compared to traditional tic-tac-toe, strategy in this game is conceptually more difficult and has proven more challenging for computers.


Rules

Just like in regular tic-tac-toe, the two players (X and O) take turns, starting with X. The game starts with X playing wherever they want in any of the 81 empty spots. Thereafter, each player moves in the small board corresponding to the position of the previous move in its small board, as indicated in the figures. If a move is played so that it wins a small board by the rules of normal
tic-tac-toe Tic-tac-toe (American English), noughts and crosses (English in the Commonwealth of Nations, Commonwealth English), or Xs and Os (Canadian English, Canadian or Hiberno-English, Irish English) is a paper-and-pencil game for two players who ta ...
, then the entire small board is marked as won by the player in the larger board. Once a small board is won by a player or it is filled completely, no more moves may be played in that board. If a player is sent to such a board, then that player may play in any other board. Game play ends when either a player wins the larger board or there are no legal moves remaining, in which case the game is a draw.


Gameplay

Super tic-tac-toe is significantly more complex than most other variations of tic-tac-toe, as there is no clear strategy to playing. This is because of the complicated game branching in this game. Even though every move must be played in a small board, equivalent to a normal tic-tac-toe board, each move must take into account the larger board in several ways: # Anticipating the next move: Each move played in a small board determines where the opponent's next move can be played. This might make moves that are considered bad in normal tic-tac-toe viable, since the opponent is forced to play on certain board. This way a player could play the same smaller board multiple times in a row, without their opponent being able to respond. Therefore, players are forced to consider the larger game board instead of simply focusing on the smaller boards. # Visualizing the game tree: Visualizing future branches of the
game tree In the context of combinatorial game theory, a game tree is a graph representing all possible game states within a sequential game that has perfect information. Such games include chess, checkers, Go, and tic-tac-toe. A game tree can be us ...
is more difficult than single board tic-tac-toe. Each move determines the next move, and therefore reading ahead—predicting future moves—follows a much less linear path. Future board positions are no longer interchangeable, each move leading to starkly different possible future positions. This makes the game tree difficult to visualize, possibly leaving many possible paths overlooked. # Winning the game: Due to the rules of super tic-tac-toe, the larger board is never directly affected. It is governed only by actions that occur in smaller boards. This means that each move played is not intended to win the small board, but to win the larger board. In fact, it may be strategic to sacrifice a small board to your opponent in order to win a more important small board yourself. This added layer of complexity makes it harder to analyze the relative importance and significance of moves, and consequently harder to play well.


Computer implementations

While tic-tac-toe is elementary to solve and can be done nearly instantly using
depth-first search Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. The algorithm starts at the root node (selecting some arbitrary node as the root node in the case of a graph) and explores as far as possible al ...
, ultimate tic-tac-toe cannot be reasonably solved using any brute-force tactics. Therefore, more creative computer implementations are necessary to play this game. The most common
artificial intelligence Artificial intelligence (AI) is the capability of computer, computational systems to perform tasks typically associated with human intelligence, such as learning, reasoning, problem-solving, perception, and decision-making. It is a field of re ...
(AI) tactic,
minimax Minimax (sometimes Minmax, MM or saddle point) is a decision rule used in artificial intelligence, decision theory, combinatorial game theory, statistics, and philosophy for ''minimizing'' the possible loss function, loss for a Worst-case scenari ...
, may be used to play ultimate tic-tac-toe, but has difficulty playing this. This is because, despite having relatively simple rules, ultimate tic-tac-toe lacks any simple heuristic evaluation function. This function is necessary in minimax, for it determines how good a specific position is. Although elementary evaluation functions can be made for ultimate tic-tac-toe by taking into account the number of small board victories, these largely overlook positional advantage that is much harder to quantify. Without any efficient evaluation function, most typical computer implementations are weak, and therefore there are few computer opponents that can consistently outplay humans. However, artificial intelligence algorithms that don't need evaluation functions, like the Monte Carlo tree-search algorithm, have no problem in playing this game. The Monte Carlo tree search relies on random simulations of games to determine how good a position is instead of a positional evaluation and is therefore able to accurately assess how good a current position is. Therefore, computer implementations using these algorithms tend to outperform minimax solutions and can consistently beat human opponents.


Online ultimate tic-tac-toe

Online UTT is UTT that is played over the internet and allows players from around the world to play against each other in real time. Not many online UTT platforms exist due to the games decreased popularity and limited player counts. Few players have formulated theory behind UTT, such as openings and winning strategies. However, current communities exist for this objective.


Variants

A variant of the game allows players to continue playing in already won boxes if there are still empty spaces. This allows the game to last longer and involves further strategic moves. It was shown in 2020 that this set of rules for the game admits a
winning strategy Determinacy is a subfield of game theory and set theory that examines the conditions under which one or the other player of a game has a winning strategy, and the consequences of the existence of such strategies. Alternatively and similarly, "dete ...
for the first player to move, meaning that the first player to move can always win assuming
perfect play Perfect commonly refers to: * Perfection; completeness, and excellence * Perfect (grammar), a grammatical category in some languages Perfect may also refer to: Film and television * ''Perfect'' (1985 film), a romantic drama * ''Perfect'' ( ...
. If playing with this rule set is still preferred, the forced-win problem can be practically solved by generating the first 4 moves at random. This is most effectively done by randomly generating a 5-digit number, then using the first digit to select a larger board and the next four digits to place "X"s and "O"s in the appropriate small board. It is also possible to create an expanded version of Ultimate Tic Tac Toe by effectively creating more layers of nested Tic Tac Toe games within the larger board. For example, a game that has a further layer would have 81 base level Tic Tac Toe boards. Tic-Tac-Ku, a game invented by Mark Asperheim and Cris Van Oosterum, has similar rules to ultimate tic-tac-toe, however a player wins the game by winning at least five small boards, instead of three in a line.


See also

*
Recursion Recursion occurs when the definition of a concept or process depends on a simpler or previous version of itself. Recursion is used in a variety of disciplines ranging from linguistics to logic. The most common application of recursion is in m ...
*
Tic-tac-toe variants Tic-tac-toe is an instance of an m,n,k-game, where two players alternate taking turns on an ''m''×''n'' board until one of them gets ''k'' in a row. Harary's generalized tic-tac-toe is an even broader generalization. The game can also be genera ...


References


External links


Monte Carlo tree-search implementation

AlphaZero-like AI solution for playing Ultimate Tic-Tac-Toe in the browser

Ultimate Tic-Tac-Toe game where artificial intelligences confront each other

Online multiplayer and games against an AI

Python implementation
{{DEFAULTSORT:Ultimate Tic-Tac-Toe Tic-tac-toe Abstract strategy games Mathematical games Paper-and-pencil games Tic-tac-toe variants