Tic Tac Toe Talk
Tic Tac Toe Talk
March 2007
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Some facts about tic-tac-toe Tic-Tac-Toe is old: It may have been played under the name of terni lapilli in Ancient Rome.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Some facts about tic-tac-toe Tic-Tac-Toe is old: It may have been played under the name of terni lapilli in Ancient Rome. Tic-Tac-Toe is popular: Youve all played it while sitting at the back of a boring class. In fact, some of you are probably playing it right now!
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Some facts about tic-tac-toe Tic-Tac-Toe is old: It may have been played under the name of terni lapilli in Ancient Rome. Tic-Tac-Toe is popular: Youve all played it while sitting at the back of a boring class. In fact, some of you are probably playing it right now! Tic-Tac-Toe is boring: People who are mildly clever should never lose.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
How not to lose at tic-tac-toe Perform as many of the following actions as possible on your turn listed in order of priority without sacricing higher priorities.
1 2 3 4
Complete three in a row. Block your opponent from completing three in a row. Threaten a win with two possible completions in two rows. Avoid a conguration in which your opponent can force the win. Threaten a win with a possible completion (two in a row). If you are the second player and the center space is not already taken, then take it. Prevent your opponent from getting two in a row.
5 6
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Fundamental Theorem of Game Theory In a game which has two players, no luck, and perfect information, exactly one of the following things is true: the rst player can force a win; the second player can force a win; or both players can force a draw.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Fundamental Theorem of Game Theory In a game which has two players, no luck, and perfect information, exactly one of the following things is true: the rst player can force a win; the second player can force a win; or both players can force a draw. Examples The Fundamental Theorem of Game Theory applies to the following games tic-tac-toe; Connect Four; chess; and all of the games that we will consider today.
Norm Do How to Win at Tic-Tac-Toe
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Count Foxy Words Two players take turns to select one of the following words. COUNT FOXY WORDS AND STAY USING LIVELY WIT AWAKE
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Count Foxy Words Two players take turns to select one of the following words. COUNT FOXY WORDS AND STAY USING LIVELY WIT AWAKE
A word may not be chosen if it has already been used and a player wins once they have chosen three words which all have one letter in common.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Count Foxy Words Two players take turns to select one of the following words. COUNT FOXY WORDS AND STAY USING LIVELY WIT AWAKE
A word may not be chosen if it has already been used and a player wins once they have chosen three words which all have one letter in common. If all of the words have been selected without one of the players winning, then the game is declared a draw.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Jam The diagram below shows a map of towns and roads, represented by points and line segments, respectively.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Jam The diagram below shows a map of towns and roads, represented by points and line segments, respectively.
Two players take turns to select a road and a road may not be chosen if it has already been used.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Jam The diagram below shows a map of towns and roads, represented by points and line segments, respectively.
Two players take turns to select a road and a road may not be chosen if it has already been used. The rst player to take all of the roads passing through a town wins. If all roads have been selected without one of the players winning, then the game is declared a draw.
Norm Do How to Win at Tic-Tac-Toe
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Magic Fifteen Two players take turns to select an integer from 1 to 9. An integer may not be chosen if it has already been used and a player wins once they have chosen three distinct numbers which add to 15.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Magic Fifteen Two players take turns to select an integer from 1 to 9. An integer may not be chosen if it has already been used and a player wins once they have chosen three distinct numbers which add to 15. If all of the nine numbers have been selected without one of the players winning, then the game is declared a draw.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
The games the same by any name! All three games require two players to alternately select an object from a set of size nine with the aim being to obtain one of eight possible combinations of three objects.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
The games the same by any name! All three games require two players to alternately select an object from a set of size nine with the aim being to obtain one of eight possible combinations of three objects. Sound familiar? Of course it does! All of these games are simply tic-tac-toe in disguise the games the same by any name!
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
The games the same by any name! All three games require two players to alternately select an object from a set of size nine with the aim being to obtain one of eight possible combinations of three objects. Sound familiar? Of course it does! All of these games are simply tic-tac-toe in disguise the games the same by any name!
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
N-in-a-row Two players take turns to mark squares of an innite square grid.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
N-in-a-row Two players take turns to mark squares of an innite square grid. The aim of the game is to mark N cells in a row, either horizontally, vertically or diagonally.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
N-in-a-row Two players take turns to mark squares of an innite square grid. The aim of the game is to mark N cells in a row, either horizontally, vertically or diagonally. If neither player can force a win, then the game is considered a draw.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
N-in-a-row Two players take turns to mark squares of an innite square grid. The aim of the game is to mark N cells in a row, either horizontally, vertically or diagonally. If neither player can force a win, then the game is considered a draw. Theorem The rst player can force a win for N = 1, 2, 3 or 4.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
N-in-a-row Two players take turns to mark squares of an innite square grid. The aim of the game is to mark N cells in a row, either horizontally, vertically or diagonally. If neither player can force a win, then the game is considered a draw. Theorem The rst player can force a win for N = 1, 2, 3 or 4. Intuition How can the second player possibly have the advantage after beginning the game one move behind?
Norm Do How to Win at Tic-Tac-Toe
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem The second player does not have a winning strategy for N-in-a-row.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem The second player does not have a winning strategy for N-in-a-row. Proof. Let us suppose that the second player has a winning strategy. But now the rst player can win by making his or her rst move at random and thereafter adopting the second players winning strategy. If this calls for the rst player to play in an already occupied square, he or she just makes another random move. Since having an extra square on the board cannot possibly hurt the rst player, this gives the contradiction that both players can force a win. So we must conclude that the second player cannot have a winning strategy, as desired.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem The second player can force a draw in 9-in-a-row. Proof. Pairing strategy
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Go Moku The most interesting version to play is 5-in-a-row. This game has been played since the 7th century BC in Japan, where the game is known as Go Moku.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Go Moku The most interesting version to play is 5-in-a-row. This game has been played since the 7th century BC in Japan, where the game is known as Go Moku. For a long time, the experts believed that the rst player had a massive advantage.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Go Moku The most interesting version to play is 5-in-a-row. This game has been played since the 7th century BC in Japan, where the game is known as Go Moku. For a long time, the experts believed that the rst player had a massive advantage. Theorem The rst player can force a win in 5-in-a-row.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Go Moku The most interesting version to play is 5-in-a-row. This game has been played since the 7th century BC in Japan, where the game is known as Go Moku. For a long time, the experts believed that the rst player had a massive advantage. Theorem The rst player can force a win in 5-in-a-row. Proof. Proven in 1993 using new computer algorithms, sheer brute force, and hundreds of hours of CPU time!
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem The second player can force a draw in 8-in-a-row. Proof. Well tricky!
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem The second player can force a draw in 8-in-a-row. Proof. Well tricky! Unsolved problem Can the rst player force a win for 6-in-a-row or 7-in-a-row?
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Animal Tic-Tac-Toe Players take turns to mark cells of the board with the aim of creating a predetermined animal (also known as a polyomino).
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Animal Tic-Tac-Toe Players take turns to mark cells of the board with the aim of creating a predetermined animal (also known as a polyomino). We will allow any translations, rotations and reections of the animal.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Animal Tic-Tac-Toe Players take turns to mark cells of the board with the aim of creating a predetermined animal (also known as a polyomino). We will allow any translations, rotations and reections of the animal. A player wins if they can create the animal and, if neither player can force a win, then the game is considered a draw.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Animal Tic-Tac-Toe Players take turns to mark cells of the board with the aim of creating a predetermined animal (also known as a polyomino). We will allow any translations, rotations and reections of the animal. A player wins if they can create the animal and, if neither player can force a win, then the game is considered a draw. Theorem The second player does not have a winning strategy for animal tic-tac-toe.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Animal Tic-Tac-Toe Players take turns to mark cells of the board with the aim of creating a predetermined animal (also known as a polyomino). We will allow any translations, rotations and reections of the animal. A player wins if they can create the animal and, if neither player can force a win, then the game is considered a draw. Theorem The second player does not have a winning strategy for animal tic-tac-toe. Proof. Strategy stealing
Norm Do How to Win at Tic-Tac-Toe
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Change the rules! To even up the game, let us say that the rst player wins if they can create the animal, and the second player wins if they can prevent the rst player from doing so.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Change the rules! To even up the game, let us say that the rst player wins if they can create the animal, and the second player wins if they can prevent the rst player from doing so. Denition Animals are winners or losers depending on whether the rst player wins or loses, respectively.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem The rst player can win in animal tic-tac-toe if the animal used is one of the following twelve.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Small animals The only animal of size 1 is a winner. The only animal of size 2 is a winner.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Small animals The only animal of size 1 is a winner. The only animal of size 2 is a winner. Both animals of size 3 are winners.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Small animals The only animal of size 1 is a winner. The only animal of size 2 is a winner. Both animals of size 3 are winners. All animals of size 4 are winners. . .
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Small animals The only animal of size 1 is a winner. The only animal of size 2 is a winner. Both animals of size 3 are winners. All animals of size 4 are winners. . . . . . except for fatty, the 2 2 square.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Small animals The only animal of size 1 is a winner. The only animal of size 2 is a winner. Both animals of size 3 are winners. All animals of size 4 are winners. . . . . . except for fatty, the 2 2 square. Let us call fatty a basic loser, since it is a loser which does not contain a smaller one.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem The twelve animals in the gure below are all basic losers.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
It follows that every animal of size greater than seven is also a loser since they all contain an animal of size seven.
Norm Do How to Win at Tic-Tac-Toe
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Snaky And what about the one animal of size six which has been left unaccounted for? Let us now meet this exotic animal which, in the literature, goes by the name of Snaky.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Snaky And what about the one animal of size six which has been left unaccounted for? Let us now meet this exotic animal which, in the literature, goes by the name of Snaky.
Even though experts believe that Snaky is a winner, Snaky is a bit shaky.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Snaky And what about the one animal of size six which has been left unaccounted for? Let us now meet this exotic animal which, in the literature, goes by the name of Snaky.
Even though experts believe that Snaky is a winner, Snaky is a bit shaky. Unsolved problem Is Snaky a winner or a loser?
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Hypercube Tic-Tac-Toe Hypercube tic-tac-toe is played on a k-dimensional hypercube of side length n divided into nk unit hypercubes with players taking turns to mark one of the cells.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Hypercube Tic-Tac-Toe Hypercube tic-tac-toe is played on a k-dimensional hypercube of side length n divided into nk unit hypercubes with players taking turns to mark one of the cells. Of course, the aim of the game is to mark a winning path of n cells whose centres are collinear.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Hypercube Tic-Tac-Toe Hypercube tic-tac-toe is played on a k-dimensional hypercube of side length n divided into nk unit hypercubes with players taking turns to mark one of the cells. Of course, the aim of the game is to mark a winning path of n cells whose centres are collinear. If hypercube tic-tac-toe is played on a k-dimensional hypercube of side length n, then we call the game nk tic-tac-toe. The original game of tic-tac-toe is simply 32 tic-tac-toe.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Hypercube Tic-Tac-Toe Hypercube tic-tac-toe is played on a k-dimensional hypercube of side length n divided into nk unit hypercubes with players taking turns to mark one of the cells. Of course, the aim of the game is to mark a winning path of n cells whose centres are collinear. If hypercube tic-tac-toe is played on a k-dimensional hypercube of side length n, then we call the game nk tic-tac-toe. The original game of tic-tac-toe is simply 32 tic-tac-toe. Strategy stealing arguments can be used to prove that the second player cannot force a win.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem Hypercube tic-tac-toe on the 33 board is a win for the rst player. In fact, it is impossible for a game of 33 tic-tac-toe to result in a draw.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem Hypercube tic-tac-toe on the 52 board is a theoretical draw. Proof. Use the pairing strategy indicated by the diagram below.
V J C D J
I B I U E
Norm Do
A A F H U B G C H D F E G V
How to Win at Tic-Tac-Toe
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem Hypercube tic-tac-toe on the 43 board is a win for the rst player.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem Hypercube tic-tac-toe on the 43 board is a win for the rst player. Proof. Proven in 1980 using sheer brute force, symmetry considerations, some clever programming and 1500 hours of CPU time!
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
The following table gives results and conjectures for hypercube tic-tac-toe for small values of n and k. An entry labelled W denotes a win for the rst player while D denotes a theoretical draw and an entry in red indicates that the result is merely conjectured but not actually proven. n=1 n=2 n=3 n=4 n=5 n=6 n=7 n=8 n=9 n = 10 k=1 W D D D D D D D D D k=2 W W D D D D D D D D k=3 W W W W D D D D D D k=4 W W W W W W W D D D k=5 W W W W W W W W W D k=6 W W W W W W W W W W
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Unsolved problem If the nk game is a draw, then the nk1 game is a draw. If the nk game is a draw, then the (n + 1)k game is a draw.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Pairing strategies and winning paths We have seen that pairing strategies can be used to prove that the second player can force a draw.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Pairing strategies and winning paths We have seen that pairing strategies can be used to prove that the second player can force a draw. When do pairing strategies exist?
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Pairing strategies and winning paths We have seen that pairing strategies can be used to prove that the second player can force a draw. When do pairing strategies exist? Pairing strategies can only exist if the number of cells on the board is at least twice the number of winning paths.
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Pairing strategies and winning paths We have seen that pairing strategies can be used to prove that the second player can force a draw. When do pairing strategies exist? Pairing strategies can only exist if the number of cells on the board is at least twice the number of winning paths. So how many winning paths are there in nk tic-tac-toe?
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem The number of winning paths on the nk hypercube is (n + 2)k nk . 2 Proof. Embed your nk hypercube inside an (n + 2)k hypercube. Every winning path can be extended to give two cells in the outer shell. Every cell in the outer shell corresponds to a unique winning path. So the number of winning paths is half the number of cells in k k the outer shell that is, (n+2) n . 2
Norm Do How to Win at Tic-Tac-Toe
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem If a pairing strategy exists for the second player in nk tic-tac-toe, then 2 n . k 21
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Theorem If a pairing strategy exists for the second player in nk tic-tac-toe, then 2 n . k 21 Proof. For a pairing strategy to exist, the number of cells on the board must be at least twice the number of winning paths.Therefore # cells on the board 2 # winning paths nk (n + 2)k nk .
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
k 1 2 3 4 5 6 7 8 100 1000
2 k 21
2k loge 2
dierence 0.885 0.942 0.962 0.971 0.977 0.981 0.983 0.986 0.999 1.000
2.000 4.828 7.695 10.570 13.450 16.332 19.214 22.098 287.540 2884.390
2.885 5.771 8.656 11.542 14.427 17.312 20.198 23.083 288.539 2885.390
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Conjecture For every positive integer k, the following equation holds. k 2 2k = loge 2 21
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Conjecture For every positive integer k, the following equation holds. k 2 2k = loge 2 21
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Norm Do
More Than Childs Play How to Get N in a Row Games with Animals Hypercube Tic-Tac-Toe
Read my article at http://www.austms.org.au/Publ/Gazette/ E-mail me at [email protected] See me at the front of the Russell Love Theatre
Norm Do