Editing 832: Tic-Tac-Toe
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 = | + | | 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. | ||
}} | }} | ||
− | + | ==Explanation== | |
+ | Each map shows every possible combination of moves which will result in that side winning or tying. It assumes that X moves first, which is why the map for O has more possible move combinations and, therefore, more subdivisions. | ||
− | + | In what follows we will use numpad notation, i.e.: | |
− | In what follows we will use numpad notation | ||
7|8|9 | 7|8|9 | ||
-+-+- | -+-+- | ||
Line 17: | Line 17: | ||
1|2|3 | 1|2|3 | ||
− | + | Note that only optimal moves are shown. This means that X only begins with X7, and all grids and subgrids in Map for X have an X in position 7. For example, you can't find a grid beginning with X2, because X2 is not an optimal move. | |
− | |||
− | |||
− | |||
− | |||
− | In map for O you can find | + | In map for O you can find grids beginnig with X2. Since the optimal answer is O5, you won't find X2, O8, for example. |
;Example 1 | ;Example 1 | ||
Line 32: | Line 28: | ||
Assume X used the center cell, X5. You as O must magnify the center cell in the 3×3 map for O. Better still, select that cell and delete everything else. Now you have a picture sized 670×670 pixels, with a big red O7 and a big black X5. You must move O7 this time. | Assume X used the center cell, X5. You as O must magnify the center cell in the 3×3 map for O. Better still, select that cell and delete everything else. Now you have a picture sized 670×670 pixels, with a big red O7 and a big black X5. You must move O7 this time. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | Assume X moves X9. | + | Assume X moves X9. You select cell 9, which is 220×220 pixels. Look for the biggest red O, which is O1. You can see you blocked a winning move. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
O| |X | O| |X | ||
-+-+- | -+-+- | ||
Line 52: | Line 36: | ||
O| | | O| | | ||
− | Now X, naively, plays X3 | + | Now X, naively, plays X3 and you select that cell in your editor, which is 73×73 pixels wide and looks like this |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
O| |X | O| |X | ||
-+-+- | -+-+- | ||
Line 71: | Line 48: | ||
==Errors== | ==Errors== | ||
− | + | In Map for X, the grid for X7, O9, X1, O4, X3 (i.e. go to Map for X, select cell 9, and then select cell 4) shows the same picture for O5 and O6. Those pictures belong to O6. The correct pictures should be: | |
− | |||
− | |||
− | |||
− | The correct pictures should be: | ||
X| |O X| |O | X| |O X| |O | ||
-+-+- -+-+- | -+-+- -+-+- | ||
O|O| O| |O | O|O| O| |O | ||
-+-+- -+-+- | -+-+- -+-+- | ||
− | X| | + | X|X|X X|X|X |
− | + | In Map for X, the grid for X7, O1, X9, O8, X3 (i.e. go to Map for X, select cell 1, and then select cell 8) shows the same picture for O2 and O5. Those pictures belong to O2. The correct pictures should be: | |
X|O|X | X|O|X | ||
-+-+- | -+-+- | ||
Line 95: | Line 68: | ||
O|O|X | O|O|X | ||
− | + | In Map for O, the grid for X8, O5, X2, O6 (i.e. go to Map for O, select cell 8, and then select cell 2) shows the same picture for X1 and X3. Those pictures belong to X3. The correct pictures should be: | |
|X| \ / |X| | |X| \ / |X| | ||
-+-+- \ / -+-+- | -+-+- \ / -+-+- | ||
Line 102: | Line 75: | ||
X| |X / \ |X|X | X| |X / \ |X|X | ||
− | + | In Map for O, the grid for X2, O5, X8, O4 (i.e. go to Map for O, select cell 2, and then select cell 8) shows the same picture for X7 and X9. Those pictures belong to X7. The correct pictures should be: | |
X|X| \ / |X|X | X|X| \ / |X|X | ||
-+-+- \ / -+-+- | -+-+- \ / -+-+- | ||
Line 108: | Line 81: | ||
-+-+- / \ -+-+- | -+-+- / \ -+-+- | ||
|X| / \ |X| | |X| / \ |X| | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==See also== | ==See also== |