Editing 832: Tic-Tac-Toe

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
 
| date      = December 10, 2010
 
| date      = December 10, 2010
 
| title    = Tic-Tac-Toe
 
| title    = Tic-Tac-Toe
| image    = tic_tac_toe.png
+
| image    = Tic_tac_toe.png
 
| titletext = The only winning move is to play, perfectly, waiting for your opponent to make a mistake.
 
| titletext = The only winning move is to play, perfectly, waiting for your opponent to make a mistake.
 
}}
 
}}
 
A much larger version is available at https://xkcd.com/832_large.
 
  
 
==Explanation==
 
==Explanation==
Line 16: Line 14:
 
  -+-+-  
 
  -+-+-  
 
  1|2|3
 
  1|2|3
 +
 +
Pixel values are taken from http://xkcd.com/832_large/.
  
 
Each map shows every possible combination of moves which will result in that side winning or tying. It assumes that X moves first, and its optimal move is X7. Any corner would do, so X1, X3 and X9 are also optimal moves. The map for X has a big red X7 (650×650 pixels), and the 8 remaining grids have a smaller (210×210) black X7.
 
Each map shows every possible combination of moves which will result in that side winning or tying. It assumes that X moves first, and its optimal move is X7. Any corner would do, so X1, X3 and X9 are also optimal moves. The map for X has a big red X7 (650×650 pixels), and the 8 remaining grids have a smaller (210×210) black X7.
Line 23: Line 23:
 
Note that only optimal moves are shown. For example, you can't find a grid beginning with X2 in Map of X, because X2 is not an optimal move.
 
Note that only optimal moves are shown. For example, you can't find a grid beginning with X2 in Map of X, because X2 is not an optimal move.
  
In map for O you can find a 660×660 grid beginning with X2. Since the optimal answer is O5, you won't find X2, O8, for example.
+
In map for O you can find a 660×660 grid beginnig with X2. Since the optimal answer is O5, you won't find X2, O8, for example.
  
 
;Example 1
 
;Example 1
Line 109: Line 109:
 
   |X|    /  \    |X|
 
   |X|    /  \    |X|
  
5) In Map for O, the grid for X6, O5, X4, O2 (i.e. go to Map for O, select cell 6, and then select cell 4) shows the same picture for X1 and X7. Those pictures belong to X1.  
+
5) In Map for O, the grid for X6, O5, X4, O2 (i.e. go to Map for O, select cell 6, and then select cell 4) shows the same picture for X1 and X7. Those pictures belong to X1. The correct pictures should be:
 
+
  X|O|
[[Image:Tic_Tac_Toe-O-6-4.png]]
 
 
 
The correct pictures should be:
 
  X|<font color=red><strong>O</strong></font>|
 
 
  -+-+-
 
  -+-+-
 
  X|O|X
 
  X|O|X
Line 126: Line 122:
 
  /  \
 
  /  \
 
  =====
 
  =====
   |<font color=red><strong>O</strong></font>|
+
   |O|
 
  -+-+-
 
  -+-+-
 
  X|O|X
 
  X|O|X
 
  -+-+-
 
  -+-+-
 
  X|O|
 
  X|O|
 
6)&nbsp;Typography coloring issue: in Map for O, X5, O7, X3, O1, X4, O6,  the O6 should be red to show that it's the latest move, instead of black.
 
 
7)&nbsp;Another typography coloring issue: in Map for O, X1, O5, X4, O7, X3, O2, X6, O9, X8,  the X8 is red, but in Map for O all X should be black.
 
 
8)&nbsp;In Map for O, there are eight "strategy" mistakes, when the O player could have won the game but doesn't. These can be found on:
 
* X3, O5, X4, O7, X6, O9, X1 (winning move would be O8, but Map says O2);
 
* X3, O5, X8, O7, X2, O1, X9 (winning move would be O4, Map says O6);
 
The same on six other symmetrical games to the above.
 
 
9)&nbsp;In Map for O, there are four further "strategy" mistakes, when the O player could have won the game but doesn't. These can be found on:
 
* X7, O5, X8, O9, X1, O4: the small squares for X6 and X2 are identical, but only the one for X6 is correct. In case of either X2 or X3, O has the winning move O6.
 
The squares for X2 and X3 should be:
 
X|X|O
 
-+-+-
 
O|O|<font color=red><strong>O</strong></font>
 
-+-+-
 
X|X|
 
 
and
 
X|X|O
 
-+-+-
 
O|O|<font color=red><strong>O</strong></font>
 
-+-+-
 
X| |X
 
 
respectively. The same on three other symmetrical games to the above.
 
 
10) &nbsp;In the map for O, center panel (first move X5), in the third level nested panel for X5, O7, X2, O8, X9, O1, move X2 from the second level "parent" panel is missing. The panel is depicted as:
 
 
  O|O|X
 
  -+-+-
 
[]|X|[]
 
  -+-+-
 
  O| |[]
 
 
where [] are the fourth-level nested panels, but should be:
 
  O|O|X
 
  -+-+-
 
[]|X|[]
 
  -+-+-
 
  O|X|[]
 
 
Same for the symmetrical game X5, O7, X6, O4, X1, O9, where X6 is missing.
 
  
 
==See also==
 
==See also==

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)