Tic-tac-toe variants


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 generalized as a nd game. The game can be generalised even further from the above variants by playing on an arbitrary hypergraph where rows are hyperedges and cells are vertices.
Many board games share the element of trying to be the first to get n-in-a-row, including three men's morris, nine men's morris, pente, gomoku, Qubic, Connect Four, Quarto, Gobblet, Order and Chaos, Toss Across, and Mojo.
Variants of tic-tac-toe date back several millennia.

Historic

An early variation of tic-tac-toe was played in the Roman Empire, around the first century BC. It was called Terni Lapilli and instead of having any number of pieces, each player only had three, thus they had to move them around to empty spaces to keep playing. The game's grid markings have been found chalked all over Rome. However, according to Claudia Zaslavsky's book Tic Tac Toe: And Other Three-In-A Row Games from Ancient Egypt to the Modern Computer, Tic-tac-toe could be traced back to ancient Egypt. Another closely related ancient game is three men's morris which is also played on a simple grid and requires three pieces in a row to finish.

Variants in higher dimensions

3D Tic-tac-toe

3-dimensional tic-tac-toe on a 3×3×3 board. In this game, the first player has an easy win by playing in the centre if 2 people are playing.
One can play on a board of 4x4 squares, winning in several ways. Winning can include: 4 in a straight line, 4 in a diagonal line, 4 in a diamond, or 4 to make a square. Another variant, Qubic, is played on a 4×4×4 board; it was solved by Oren Patashnik in 1980. Higher-dimensional variations are also possible.

Misère games

Misere Tic-tac-toe

In misère tic-tac-toe, the player wins if the opponent gets n in a row. This game is also known as avoidance tic tac toe, toe-tac-tic, inverse tic tac toe, or reverse tic tac toe. A 3×3 game is a draw. More generally, the first player can draw or win on any board whose side length is odd, by playing first in the central cell and then mirroring the opponent's moves.

Notakto

is a misere and impartial form of tic tac toe. This means unlike in misere tic tac toe, in Notakto, both players play as the same symbol, X. It also can be played on one or multiple boards.

Variants with bigger boards

Quixo

The game Quixo is played on a 5 by 5 board of cubes with two players or teams. On a player's turn, they select a blank cube or a cube with their symbol on it that is at the edge of the board. If a blank cube was selected, the cube is turned to be the player's symbol. The game ends when one player gets 5 in a row.

Unrestricted n-in-a-row

Unrestricted n-in-a-row is played on an infinite tic-tac-toe board where the goal is for one player to get n in a row.

Isomorphic games

Number Scrabble

There is a game that is isomorphic to tic-tac-toe, but on the surface appears completely different. It is called Pick15 or Number Scrabble. Two players in turn say a number between one and nine. A particular number may not be repeated. The game is won by the player who has said three numbers whose sum is 15. If all the numbers are used and no one gets three numbers that add up to 15 then the game is a draw. Plotting these numbers on a 3×3 magic square shows that the game exactly corresponds with tic-tac-toe, since three numbers will be arranged in a straight line if and only if they total 15.

Word Tic-tac-toe

Another isomorphic game uses a list of nine carefully chosen words, for instance "eat", "bee", "less", "air", "bits", "lip", "soda", "book", and "lot". Each player picks one word in turn and to win, a player must select three words with the same letter. The words may be plotted on a tic-tac-toe grid in such a way that a three in a row line wins.

Other variants

Numerical Tic-tac-toe

Numerical Tic Tac Toe is a variation invented by the mathematician Ronald Graham. The numbers 1 to 9 are used in this game. The first player plays with the odd numbers, the second player plays with the even numbers. All numbers can be used only once. The player who puts down 15 points in a line wins. This game can be generalized to a n × n board.

Check Lines

In the 1970s, there was a two player game made by Tri-ang Toys & Games called Check Lines, in which the board consisted of eleven holes arranged in a geometrical pattern of twelve straight lines each containing three of the holes. Each player had exactly five tokens and played in turn placing one token in any of the holes. The winner was the first player whose tokens were arranged in two lines of three. If neither player had won by the tenth turn, subsequent turns consisted of moving one of one's own tokens to the remaining empty hole, with the constraint that this move could only be from an adjacent hole.

Quantum tic-tac-toe

allows players to place a quantum superposition of numbers on the board, i.e. the players' moves are "superpositions" of plays in the original classical game. This variation was invented by Allan Goff of Novatia Labs..

Wild tic-tac-toe

In wild tic-tac-toe, players can choose to place either X or O on each move. It can be played as a normal game where the player who makes three in a row wins or a misere game where they would lose. This game is also called your-choice tic-tac-toe or.

SOS

In the game SOS, the players on each turn choose to play a "S" or an "O" in an empty square. If a player creates the sequence, SOS vertically, horizontally or diagonally they get a point and also take another turn. The player with the most points is the winner.

Treblecross

In Treblecross, both players play with the same symbol. The game is played on a 1 by n board with k equal to 3. The player who creates a three in a row of X's wins the game.

Revenge n-in-a-row

In revenge n-in-a-row, the player who creates a n-in-a-row wins unless the opponent can create a n-in-a-row in the next move where they lose.

Random turn tic-tac-toe

In the game, random turn tic-tac-toe, a coin flip determines whose turn it is.

Quick Tic-tac-toe

In quick-tac-toe, on each turn the players can play their mark in any squares they want provided that all the marks are in the same vertical or horizontal row. The winner is the player who places the last mark.

Ultimate tic-tac-toe

In ultimate tic-tac-toe, the board is composed of nine tic-tac-toe boards arranged in a 3-by-3 grid. Players take turns playing in the smaller tic-tac-toe boards until one of them wins in the larger tic-tac-toe board.