Talk:Tic-tac-toe

From Wikipedia, the free encyclopedia

Knight chess piece This article is within the scope of WikiProject Strategy games, an effort by several users to improve Wikipedia articles on strategy games. For more information, visit the project page, where you can join the project and/or contribute to the discussion.
B This article has been rated as B-Class on the assessment scale.
High This article is on a subject of high priority within strategy games for inclusion in Wikipedia 1.0.

This article is part of WikiProject Board and table games, an attempt to better organize information in articles related to board games and tabletop games. If you would like to participate, you can edit the article attached to this page, or visit the project page, where you can join the project and/or contribute to the discussion.
B This article has been rated as B-class on the quality scale.
High This article has been rated as high-importance on the importance scale.

The opening move with the least number of drawing replies is in one of the corners. After this move has been made, the opener can force a win if the opponent takes any square other than the centre one, as shown in the above game.

I have removed this description just after the first example since it did not make much sense as to how it is "The opening move with the least number of drawing replies" and why is the next example not equivalent in that sense.

Contents

[edit] Variations

No mention is made to "Tres en Raya" as a variation. Also, the false assertion that "Tic-Tac-Toe" is called "Tres en Raya" in Spain is made. In fact, in Spain "Tic-Tac-Toe" as such is virtually unknown (I believe the vast majority of people in Spain would not even know how to play a game of Tic-Tac-Toe). "Tres en Raya" is a very different game, where each player only has three X's or O's. It is played with markers, not pencil and paper, and after the third move each player must move one of his three markers to another free square on the board. —Preceding unsigned comment added by 77.209.116.133 (talk) 21:49, 25 March 2008 (UTC)

[edit] Moves player O "must" make???

"The second player, whom we shall designate "O," must respond to X's opening mark in such a way as to avoid the forced win. Player O must always respond to a corner opening with a center mark, and to a center opening with a corner mark."

To my way of thinking, both of these lead to an automatic loss for O. Am I missing something - I haven't deleted this excerpt from the page yet.

  • If X leads corner and O follows with center - then X will play opposite corner and be guaranteed a fork next move.
  • If X leads center and O follows with corner - then X will again play opposite corner and be guaranteed a fork next move.
  • The only effective response to an X lead in center or corner is edge. —Preceding unsigned comment added by 130.216.91.18 (talk) 02:51, 14 February 2008 (UTC)

[edit] 26,830/765 or 23,129/827 ?

The current page says:

"the 765 essentially different positions (the state space complexity), or the 26,830 possible games [...]"

But http://www.genetic-programming.org/sp2003/Hochmuth.pdf gives:

"while there are a total of 23,129 possible Tic-Tac-Toe games to be played in long train rides, the number of unique situations is in fact only 827", quoting Steve Schafer's 2002 "How many games of Tic-Tac-Toe are there?" The URL given is no longer valid (and I couldn't find it on www.archive.org), but I think it may be now at http://www.sinc.sunysb.edu/Class/phi365/tic_tac_toe.html .

Whether it's 765 or 827 unique positions, surely it would be trivial to create a smallish lookup table to find the "next move" (after doing a search on rotations/translations) - what am I overlooking?

Mike Hamilton 12:52, 21 November 2006 (UTC)

See the discussion topic "Number of Unique Games". After sorting out a bug, my program agrees with the article's 765 games when taking account of symmetries. James Lednik (talk) 13:53, 7 March 2008 (UTC)

[edit] Four draw positions

When I was doodling one day I established to myself that there are only four possible draw positions in tictactoe, including inversions and rotations of the four.

They are:

OXO OXO XOX XOO
XOX OXX OXX OXX
XOX XOO OXO XXO

Two questions. Is this relevent enough to include in the article, and more importantly, am I right?

No, there are only 3 - your third and fourth positions are the same except for a reflection - or is that not allowed? Incidentally your second game has more 0s than Xs, unlike the others. Ignoring symmetry but assuming X goes first, there are 16 possible draw positions (4 of first type 1, 4 of second type 2 and 8 of third/fourth type). --Henrygb 15:38, 11 Oct 2004 (UTC)

[edit] Alternative names

I have removed most of the section Alternative names, as this is an encyclopedia, not a dictionary. Here's the enitre paragraph as it looked before my edit:


Alternative names

Sometimes, the names of the games Tic-tac-toe (where players keep adding "pieces") and Three Men's Morris (where pieces start to move when the first four have been placed) are confused.


Niels Ø 13:35, 30 September 2005 (UTC)

[edit] Strategy

The strategy as described in the article does not guarantee a draw when used by player two, and fails to win against sub-optimal play in lines that result from an opening move in the corner of the board. Mikebell 04:09, 15 November 2005 (UTC)

[edit] mnk games

The mnk class of games and the fact that tic tac toe is an instance of that class should probably get a more substantial mention than in the intro paragraph to tic tac toe variations. (meta) As a Wikinoob, I don't know if this is the right forum to discuss opinions about content / direction of the article changes like this. Someone will have to correct me if this isn't how it's done. Mikebell 04:15, 15 November 2005 (UTC)

[edit] Chickens

The article says that Las Vagas casinos have tic-tac-toe-playing chickens. Is that true? I didn't see any last time I was in Vegas. I have played tic-tac-toe agaisnt a chicken, but taht was 30 years ago at a county fair.

I have seen chickens that are presented as playing Tic Tac Toe at carnivals. There is a common cheat which is used. The chicken is trained to peck at a light, and has a Tic Tac Toe board in its pen which is mediated through a computer. It is actually the computer which is playing the game, and the chicken is just pecking at the Tic Tac Toe square which has a light illumninated by the computer. The chicken sees the light (you don't) and pecks at the square selected by the computer. Kmorford 03:16, 1 March 2006 (UTC)
  • Sorry, that was a mistake - the chickens-at-casinos are in Atlantic City. DS 12:22, 12 June 2006 (UTC)

[edit] Chaos and order

A great variant of Tic Tac Toe is a game called "chaos and order" (or is it "order and chaos"?) It is played on a six by six board with players alternating placing either a single X or a single O on the board at a time. The first player plays the part of order, and wants to get five in a row of either Xs or Os. The second player plays the part of chaos, and wants to completely fill the board with out having any instances of five in a row of either Xs or Os. Either player can play either an X or an O in any unfilled space on the board when it is his or her turn. With perfect play, I suspect that order can always win, but I do not know that with certainty. The game is complex enough that there are good opportunities to win for both sides. Kmorford 03:25, 1 March 2006 (UTC)

[edit] Cat

Is there any explanation to why a game that is tied is said to have gone to the cat? 204.9.144.52 19:10, 14 March 2006 (UTC)

The only reason I can think of is that tac spelled backward is cat. I have been unable to find any answer to this question.(74.60.0.215 22:32, 14 June 2007 (UTC))

[edit] horrible book @ first link position

I've removed the link to the Tic Tac Toe PDF book that was first in external links. That book is terrible. It makes several fundamental errors. How long was that link there? I shudder to think of all the players who have been misinformed by clicking that link. Yikes. 69.142.21.24 05:39, 7 April 2006 (UTC)

[edit] Need more content

We need a history and geography of tic-tac-toe. Zaslav 11:40, 22 June 2006 (UTC)

[edit] CheckLines

Several months ago, I bought a copy of Tri-ang CheckLines through eBay. I may eventually get round to making a Wikipedia page about it. DFH 18:57, 27 July 2006 (UTC)

[edit] Strip tic-tac-toe exists!

It was taken off as mistaken vandalism. Lies. Here are my sources which show that it clearly exists despite 16th century prudery:

[1] [2]

So people need to relax, take a chill pill and get out more.

  • The latter link is about a computer game with no evidence that it's ever played for real. The former one is a discussion board and seems completely irrelevant. And: "The game is usually played while drinking a bottle of absinth or smoking crack" looks like complete nonsense to me. - Mike Rosoft 08:34, 30 July 2006 (UTC)

[edit] Errors

Wrong "example game" picture! "O" more than "X", but "X" starts!

Now you can compare it with russian version of this page.

Yes, someone should substitute a new picture -- there are 5 "O's" in the picture, which is impossible if "X" starts, which is the usual convention and that given in the article. Krakatoa 17:29, 4 October 2007 (UTC)

Hi Krakatoa,
Even I noticed the same error in the picture. This needs to be rectified as soon as possible. Any "WIKIPEDIAN", please do the needful at your earliest and oblige. Amit Munje (talk) 14:01, 3 May 2008 (UTC)

[edit] Strategy error

I implemented the strategy as listed on this page and it failed. Here is the log. Note how after the first move of the AI there is no choice anymore. So the first move is wrong. It should be in the center. That means before point 5 or 6 (I believe it does not matter) there has to be inserted: "Get the middle field, if it is free". Having it at the bottom of that paragraph is not enough, since the above list is supposed to be a complete strategy. Here is the log:

Player starts.
x..
...
...

AI makes a move.
xo.
...
...

Player makes a move.
xo.
...
x..

AI makes a move.
xo.
o..
x..

Player makes a move.
xo.
o..
x.x

AI makes a move.
xo.
oo.
x.x

Player makes a move.
xo.
o..
xxx

--84.178.82.53 15:51, 7 January 2007 (UTC)

[edit] Multidimensional Tic Tac Toe

I'm not sure if this should be included here, but Tic Tac Toe can be extrapolated to any number of dimensions by multiplying the number of boards by 3 each time. For example, normal 2 dimensional contains one board, 3D has 3 boards (already mentioned on the page), 4D (listed as 9 board tic tac toe here) contains 9 boards, 5D contains 27 boards, etc. While anything above 4D contains much more time writing out the boards than playing in my experience, it might be an interesting side note. The number of possible lines to win on an nth dimensional board, T(n) is 8T(n-1) - 15T(n-2) where T(0) = 0, T(1) = 1. Origin415 04:00, 10 January 2007 (UTC)

Although there is a 4D game that can be played using 9 2D boards, the "9 board tic tac toe" described in this article is entirely different (and more interesting to play, I'd say). 75.36.182.157 01:25, 9 April 2007 (UTC)

[edit] History

Does anyone know the history behind the game? I believe it would be a wonderful addition to the article. Yurimxpxman 17:29, 15 March 2007 (UTC)

Why is it called Tic-Tac-Toe in the US, no one has explained this. Naughts and Crosses it quite self-explanatory, Tic-Tac-Toe aint. Can any anyone add to the etymology of this phrase.

[edit] Names of X and O

While reading Hollywood Squares I was struck by the catchphrases "Circle takes square" and "X takes square". Am I to infer that in America, O is "circle" rather than "nought" ("zero") or "oh", and X is "ex" rather than "cross"? jnestorius(talk) 14:13, 28 April 2007 (UTC)

While X is generally said as "ex" in America, O is generally said as "oh". I have only heard O said as "circle" on Hollywood Squares.--RLent 19:59, 12 June 2007 (UTC)

[edit] Boardgamegeek.com

It seems like this article should mention that tic-tac-toe holds the honor of the lowest rated game on boardgamegeek.com or at least it should have a link to its spot on boardgamegeek in the external links. --72.200.78.136 19:33, 27 May 2007 (UTC)

That really says more about boardgamegeek than about tic-tac-toe. — Gwalla | Talk 22:00, 1 June 2007 (UTC)

[edit] External links

Do we even need links to online & downloadable versions? It's a spam magnet. — Gwalla | Talk 22:00, 1 June 2007 (UTC)

[edit] Play centre higher priority than play opposite corner

Although playing the opposite corner makes it easier to block forks, playing the centre makes it easier to play 3-in-a-row. The "win" criteria is higher than "block fork".

This order follows the source, which has been shown to have perfect play.AbcXyz 16:33, 26 August 2007 (UTC)

[edit] Computer game versus video game

I've changed the reference to "first known computer game" to "first known video game". Computers had been playing games before 1952, e.g. Christopher Strachey's draughts programme on the Manchester Mark I in 1951. OXO, in 1952, is thought to be the first game to output onto a video display (e.g. cathode ray tube), which is what makes it notable, so we should draw the distinction. gothick 22:01, 15 November 2007 (UTC)

[edit] Removed a line

The best play leads to a unavoidable victory by player one, all he has to do is play at the corners (unlike the second example, where a clear case of wrong play is shown). --Taraborn (talk) 10:11, 20 December 2007 (UTC)

[edit] Best Play

I am fairly certain that if both players play perfectly, all games will end in a draw. This contradicts the following:

"Players soon discover that best play leads to a victory of the first player. Hence, tic-tac-toe is most often played by very young children; when they have discovered an unbeatable strategy they move on to more sophisticated games such as dots and boxes."

Of course, this is just based on my memories since I am neither a tic-tac-toe aficionado, nor a game theory expert...so I could be wrong. —Preceding unsigned comment added by 74.130.23.77 (talk) 23:12, 21 December 2007 (UTC)

[edit] Number of Unique Games

(Update: resolved. My program had a bug, the numbers in the article are correct)

I have written a program which solves Tic-Tac-Toe completely, and accounts for all symmetries.

In the article it states that there are 138 unique games divided by:

  • 91 games are won by X;
  • 44 games are won by O;
  • 3 games are a draw.

However, my program shows that there are 133 unique games.

  • 87 games are won by X;
  • 43 games are won by O;
  • 3 games are a draw.

My program also showed that there are 744 game states discounting symmetric game states, not 765 as reported in the article.

If the numbers I found are correct, hopefully it will help lead to a change in the article. James Lednik (talk) 20:27, 6 March 2008 (UTC)

I also wrote a program, which produced the following output: http://www.fieggen.com/software/TicTacToeGames.csv
You can easily load this file into a spreadsheet, then examine or sort the results and cross-check them with your own results. From this, you should be able to determine either:
  • Which of my 138 outcomes are incorrect or are symmetrical duplicates, or
  • Whether there was a bug in your program.
If the former, you could post a follow-up indicating which of my 138 unique games should be discounted.
If the latter, and assuming you can fix the bug, you could then re-check whether your 744 game states now also tallies with the 765 calculated by myself and others. Ian Fieggen (talk) 21:59, 6 March 2008 (UTC)
Thanks for the rapid reply and information Ian. I'll report back what I find. James Lednik (talk) 05:48, 7 March 2008 (UTC)
It was a bug in my code :). Your data lead me to pinpoint a case where the program would skip valid moves. I now get the exact numbers reported in the article: 765 states, 138 games, 91 wins for X, 44 wins for O, and 3 draws. Thanks! James Lednik (talk) 07:23, 7 March 2008 (UTC)
I'm glad you got it sorted out. :-)
Mind you, on further looking at that section's text, "Possible games" is not really the ideal wording. It should perhaps read "Possible outcomes", as there can often be several possible games that lead to the same outcome. I'm doing some further calculations before I re-word this section. Ian Fieggen (talk) 23:57, 7 March 2008 (UTC)

Further to the above, I've now created a separate section titled "Number of possible games", which defines the numbers in more detail. Hopefully this hasn't complicated it TOO much! It could run the risk of delving too deeply (like some of the external links). Ian Fieggen (talk) 04:02, 8 March 2008 (UTC)

That might be a bit too much for this article, but maybe not. I think it's interesting info (I'd read it), we'll see what others think.
In my program I was able to graph out all the states of Tick Tac Toe, with the connections between them. I still have not developed a good way to sort out the (very complex) resulting graph in a manner that is both visually appealing and reveals info about the game, as was my original intent, but I may go back and work on it sometime.
Thanks again for the help. James Lednik (talk) 20:56, 13 March 2008 (UTC)

[edit] Wargames a "cult" film?

Why is Wargames called a cult film? It was a big budget blockbuster. 76.168.64.243 (talk) 07:44, 30 April 2008 (UTC)

Agree. Let's just remove "cult" from a NPOV standpoint. Ian Fieggen (talk) 23:42, 30 April 2008 (UTC)

[edit] Nonnotable details

I think that the Lucky Charms event and the random link to a tictactoe game on this article should be removed. The Lucky Charms event is extremely trivial and unencyclopedic. Also, this article already has enough links to playing tictactoe as it is, we don't need another. For now, I'm removing it until you can prove me wrong, or get another opinion. Artichoker (talk) 22:40, 2 June 2008 (UTC)


Well the Lucky Charms version is listed as a variation as that is what it is. You say it is unnotable? To whom? I see you are American and this promotion was in the UK (and over 10 years ago at least), so people like you would not have seen it in all probability. As for this and the link, why remove them? They're not really doing any harm are they? Why not remove one of the other links for playing Tic Tac Toe? I'll tell you, because, like the one I have added they are doing no harm.

As mentioned before there is a catagory for variations, so the Lucky Charms thing fits in well there. Who are you really to say that it is "extremely trivial and unencyclopedic"? I have just listed another version like the subheading says, nothing else.

There are no real rules to say that these can not be added as I'm sure you already know. --Cexycy (talk) 22:52, 2 June 2008 (UTC)

Even then it is trivial; it was an event from a cereal company involving the game tictactoe. Was there any significant coverage of it?
Yes, the link is doing harm: Wikipedia is not a mirror or a repository of links, images, or media files. And since this one was added last, it should be removed. The reader does not gain anything from another external link to a site where you can play tictactoe. Artichoker (talk) 23:06, 2 June 2008 (UTC)

As I said before the Lucky Charms thing is just a variation. nothing more, which is doing no harm.

And no the link is not doing any harm either. It is just one lousy little link and the others are not quite the same as it exactly, if you have a look you will see. The reader does not come to any harm looking at this.

With all due respects, I just think you're going over the top here. --Cexycy (talk) 23:14, 2 June 2008 (UTC)

Let me repeat: Wikipedia is not a mirror or a repository of links, images, or media files. Excuses like "it's just one little link" don't work. The Lucky charms thing is not a variation, it is an irrelevant event, and compromises the notability of the article, per WP:NOT. Artichoker (talk) 23:36, 2 June 2008 (UTC)

[edit] Chicken mechanism

My change was reverted clarifying that chickens playing tic-tac-toe are advised by a computer program. This claim is reflected in the Chicken section above and in the reference stated. The revert comment was "no it isn't" (advised by a computer program). Could you (or anyone) please show evidence countering mine? -Verdatum (talk) 16:27, 11 June 2008 (UTC)

Please read the reference provided in the article here. The article never says that the chicken is advised by a computer program. Until consensus is reached, the original revision should stay, so please do not revert my edit until we have discussed this. Thanks, Artichoker[talk] 16:53, 11 June 2008 (UTC)
Reverting a revert (once) is not uncommon per WP:BOLD et al. Mostly just an action to insure discussion takes place; all is well. Anyway, from the article, "It's not because Ginger the Chicken plays tic-tac-toe. It's amazing that some people think she -- it -- actually does.", "The fickle fowl pecks behind the screen, in secret, and a green 'O' appears on the game board.", and "One guy lost, then stood back to watch. After a couple of rounds he said to his companion, 'Oh, it's a computer. The chicken's not really playing tic-tac-toe.' Even a dim bulb flickers in Las Vegas.". I realize it isn't explicitly stated, but the obvious implication of the entire article is that the chicken is not playing. So again, I ask for evidence that the chicken is actually trained to play independently. -Verdatum (talk) 20:14, 11 June 2008 (UTC)
Okay, fair enough. Also, I just read the above section on the talk page here. Go ahead and revert it back now. Artichoker[talk] 20:17, 11 June 2008 (UTC)
I actually did some more investigation. A researcher at Google Answers (man I miss that thing) did a good job of compiling information on the phenomena. The only authoritative source implying the chicken is trained to play tic-tac-toe (as opposed to just training it to peck) is this Bunky Boger, who has an obvious conflict of interest and incentive to exaggerate about the chicken's abilities. I'll revert in a couple days if no one else has issues. -Verdatum (talk) 20:33, 11 June 2008 (UTC)