IntroductionMath professor and Backgammon expert Bob Koca was playing tic-tac-toe with his 5-year-old nephew, when the nephew whimsically suggested that they should both play X. After mathematically analyzing such a game, Professor Koca realized that this was a deceptive new version of the classic game of Nim.
Thane Plambeck later dubbed this game Notakto (pronounced No-tac-toe). In this tutorial, you'll learn how to play this game so that you can win every time!
Notakto is played on a standard 3-by-3 tic-tac-toe board, and the rules are as follows:
• Both players alternate making an X on the board.
• Players may mark on X on an available space (again, any space not already occupied by an X) any available board during their turn.
• The person who makes a horizontal, vertical, or diagonal line of 3 Xs on the board is the loser.
If you'd like to try out this game for yourself, you can play the first level online here (click reset if you pass the first level to stay). If you have an iPad, you can download and play the Notakto app here.
When referring to general types of squares, I'll use the terms center, corner, and edge to apply to the various squares as follows:
When I need to refer to a square in more specific terms, I'll refer to the various squares with these terms:
I'll also frequently use the terms rotations and reflections.
If you rotate a given pattern of Xs through quarter turn (90°) increments to match another pattern of Xs, then those two patterns are rotations of each other. Two given patterns of Xs that are mirror images of each other, with left and right switched, and/or top and bottom switched, are reflections of each other.
These are important concepts, since patterns that are rotations or reflections will share the same strategy.
Now that you've got a basic understanding of the concepts involved, it's time to learn how to win 1-board Notakto!
Winning 1-board NotaktoMathematician Timothy Chow originally likened the winning moves to that of a chess knight. If you're not familiar with chess, chess knights move either 1 square vertically and 2 squares horizontally or 1 square horizontally and 2 squares vertically, resulting in an unusual L-shaped move.
If we think of a chess knight on a Notakto board, you'll note that the knight in the corner square below (on your left) can only move into either of the edge squares marked with a dot. The knight located in the edge square (on your right) can only move into either of the corner squares marked with a dot.
Because of the unusual way the knight moves, a knight in the center doesn't have any possible moves.
Here's how to use the knowledge of a knight's move to win at Notakto.
To guarantee yourself a win on 1-board Notakto, you must play first, and start by placing your X in the center.
After each time the other player marks an X in a given square, you'll place your X a knight's move away from that square.
As seen in the knight's move graphic above, there will often be two open squares that qualify. Before placing your X, make sure that you're not inadvertently making 3 in a horizontal, vertical, or diagonal line of 3 Xs, thus losing the game.
Played properly, the resulting game should look something like this:
Why This WorksBy starting with your X in the center, that limits every following move to be played on centers and edges, which are squares where you can use the knight's move strategy.
If the other player places an X in a corner at this point, the knight's move will place your X on an edge square. Conversely, If the other player places an X in the edge at this point, the knight's move will place your X on a corner square. This results in a boot-shaped arrangement of Xs at this point:
I refer to this arrangement (and any rotations and reflections of this arrangement) as the boot trap. Take a close look at it. The other player in the boot trap above won't place their X in the lower edge or the upper right corner, because they would instantly lose the game.
That leaves 4 remaining squares that seem harmless enough. However, when they place their X on any one of those squares, and you place your X a knight's move away (again, making sure you don't accidentally complete a horizontal, vertical, or diagonal line of 3 Xs), the board then looks something like this:
Notice that placing ANY X on this board must result in a losing play! From the boot trap, you can always force this situation, which means you'll always be able to win the game.
Practice 1-board Notakto online or with the iPad Notakto app until you can always win.
Once you feel comfortable enough with the 1-board strategy, it's time to learn to win 2-board Notakto!
Playing 2-board NotaktoFor playing Notakto with 2 or more boards simultaneously, the rules are similar, but there are a few changes:
• Both players alternate making an X on the board.
• Once an individual board has a horizontal, vertical, or diagonal line of 3 Xs on it, that board becomes unavailable (no more moves may be made on it).
• Players may mark on X on an available space (any space not already occupied by an X on any available board) any available board during their turn.
• The person who makes a horizontal, vertical, or diagonal line of 3 Xs on the last available board is the loser.
While you'll still use the boot trap and the knight's move strategy, there are some new adjustments and new strategies to learn in order to win multi-board Notakto every time.
To guarantee yourself a win in 2-board Notakto, the other player must go first. In fact, there is a simple pattern that will help guarantee you a win with any number of boards:
When playing on an odd number (1, 3, 5, etc.) of Notakto boards, you can guarantee yourself a win by being Player 1 - the odd-numbered player. When playing on an even number (2, 4, 6, etc.) of Notakto boards, you can guarantee yourself a win by being Player 2 - the even-numbered player.There's also a simple rule for remembering where to mark your first X:
Your first move will always be placing your X in the center square of any empty board (empty board refers to any Notakto board with no Xs already on it).When you go first, all the boards are empty, so of course you can make your first move this way. If you're Player 2, there will always be at least one other empty board after the other player's first move, so you can be assured of still having an empty board on which to mark the center square.
These are great strategies for knowing how to start the game in your favor, but as I mentioned earlier, you'll need to learn some more strategies to assure yourself a win. The first new strategy is learning how to sacrifice a board.
SacrificingSince only the person who makes a horizontal, vertical, or diagonal line of 3 Xs on the final available board loses, taking other boards out of play by purposely completing a line of 3 Xs can be very helpful. Taking a board out of play in this way is called sacrificing, just like the same concept in chess.
Let's start with the simplest possible example of sacrificing a board. In the example below, the other player is Player 1, and you are Player 2 (because there's an even number of boards, remember?).
Their first move is the center square of one of the boards, and your reply is the center square of the remaining empty board. From this arrangement, no matter where they put their next X, there will always be 2 Xs in a line. Your response is to complete that line with a 3rd X, and sacrifice that board:
Once that sacrifice is made, the game effectively reduces to a 1-board Notakto in which the other person is the second player. As shown in the animation above, you set up your boot trap, and proceed to win the game just as before!
While the above game can and does happen, not every game happens in such a simple and straightforward manner.
Our next example will still show the concept of sacrificing a board, but it will happen later, and after a more complex series of moves.
This game starts, again, with the other player going first. This time, they're going to start in a corner (though it could just as easily be an edge), and you respond just as you should, marking an X in the center square of the remaining board.
This time, however, the other player marks an X on the same board on which you just played your center X. What do you do in this case?
Simple! You respond just as you would in 1-board Notakto, and set up your boot trap.
From here, we'll assume the other player marks an X in line with the X they played first. Naturally, you complete the row of 3 and sacrifice that board. The game then returns to the board on which you've set up your boot trap, and you win in the usual way:
This latter, more complex game actually shows a number of concepts that will be important through the rest of this tutorial:
1) Any strategy you learn in this tutorial can be delayed and still remain effective.
2) This is a another good lesson in determining which board to play:
When the other player marks their X on a board with pre-existing Xs, your next move will be made on that same board. When the other player marks their X on a previously-empty board, your next X will be placed in the center of another empty board.In the previous tab, we discussed a similar rule that helps determine where you start. This rule, on the other hand, determines on which board you will continue play.
Try practicing 2-board Notakto online or with the iPad Notakto app using this approach, but don't be discouraged if you don't win.
Playing this way will guarantee a win if the computer responds as we've assumed above, but you'll notice that there are some situations that haven't been covered yet. The most common is when they start on a corner or an edge, and the next time they make a move on that board, there's no way to make 3 Xs and sacrifice the board!
In the next section, you'll learn how to use that kind of play to set up another trap for the other player!
The 2X TrapWhen the other player marks their first X in a corner or an edge, it's quite possible that their next move could prevent you from sacrificing the board on your next move. It's not uncommon to see a situation such as this (the X in the right board is yours, the 2 on the left belong to the other player):
Another arrangement that could prevent an immediate sacrifice happens when two Xs are marked on edges that aren't directly across from each other (Again, the X in the right board is yours, the 2 on the left belong to the other player):
In both of the above cases, the next move is yours. What is the best move to make?
With both arrangements, the answer is exactly the same! You should place an X to make the pattern shown on the left board:
Why? The next time your opponent places an X anywhere on a left board with that arrangement, they'll wind up with 2 Xs in a line. When they do, you can place the 3rd X and sacrifice that board! Yet again, you can prepare your boot trap on the right board, and win the game as usual.
Because this design forces your opponent to place 2 Xs in a line, I refer to this as the 2X trap. It's easy to visualize, as the 2X trap always has 1 X in a corner, and 2 edge Xs, both of which are a knight's move away from the corner X.
Below is a full game animated, in which the 2X trap is used. This particular game involves a rotation of the 2X trap depicted above, so you can get used to seeing it in another arrangment. As with all 2-board Notakto games, the other player goes first.
As with the earlier example games, the 2X trap could be played even if you had developed the boot trap further on the left board. Delayed use of tactics, as I've said before, can still be effective.
Go practice 2-board Notakto either online or with the iPad Notakto app with your knowledge of the 2X trap, and you should find that you're winning more 2-board games than before.
However, your 2-board game still won't be perfect. Sometimes, your opponent can be sneaky and sacrifice your carefully-prepared boot trap! You'll learn how to handle that situation in the next section.
When They Sacrifice Your Boot TrapUp to this point, every strategy discussed has involved sacrificing all but the last board (if any), and then winning the final board via the boot trap and the knight's move strategy that has been taught.
It isn't difficult to conceive of sacrificing a board, however, and your opponent can do it just as easily as you can. Below is a snapshot of a 2-board Notakto game where the following has occurred:
1) The other player moved first, and placed their X on an edge square (left board). You responded by placing your X in the center of the other (right) board.
2) They marked their next x on an edge square on the right board, and you responded preparing your boot trap.
3) They then marked an X on an edge square on the left board in such a way that you couldn't immediately sacrifice the board. You respond by setting up the 2X trap.
4) They then surprise you by sacrificing the right board, ruining your boot trap.
It's now your move. What do you do?
In this situation, there's only one effective response. You must place your X in the corner directly opposite the other corner X in the 2X trap:
Why does that work? While there are 5 remaining spaces open, the other player cannot place their X in the center or either of the open corner squares, because they'd lose the game. Their only possible response is to place their next X in one of the remaining edge squares, and your response will be to place your X in the other remaining edge square.
After they mark their edge square, and you mark your edge square, it's their move again, and the board now looks like this:
Anywhere they place their X on the left board, they must lose (Remember, the right board is out of play).
When They Sacrifice EarlySometimes, when the other player sacrifices your boot trap early, the other board only has a single X on a corner or an edge (If the other board had a single X in the center, then you built your boot trap too early and on the wrong board), like this:
The response for this situation is easy, but different enough that it warrants its own section.
The strategy for this situation is simple. Your next move is to mirror the placement of the other player's Xs. What do I mean by mirroring the placement?
If they placed an X on the upper edge, you place your X on the lower edge (and vice-versa). If they placed an X on the right edge, you place your X on the left edge (and vice-versa).
Similarly with the corners, if they placed an X on the upper left corner, you place your X on the lower right corner (and vice-versa). If they placed an X on the upper right corner, you place your X on the lower left corner (and vice-versa).
In the case shown above, there an X in the lower left corner of the right board, and it's your move. The mirroring strategy tells you to place your X in the upper right corner, and keep mirroring their plays as discussed above.
If they mark a mixture of corner and edge squares, and you mirror those appropriately the boards will eventually look like this after your last move:
Does the pattern on the right board look familiar? It's the pattern of 6 Xs with an open diagonal (albeit a rotation of that earlier pattern) that ended the game discussed above.
Alternatively, if the other player keeps marking Xs only in corners, and you keep mirroring the appropriate corners in response, you'll come to this pattern much more quickly after your last move:
Even though there's only 4 Xs in this pattern, the other player must lose. It's their turn, and marking an X in the center or any edge means completing a horizontal, vertical, or diagonal row of 3 Xs, thus costing them the game.
With everything you've learned here, you're now equipped with enough knowledge to win every 1-board and 2-board Notakto game everytime.
To make sure you know how to use this knowledge, it's time again to practice 1-board and 2-board Notakto either online or with the iPad Notakto app.
Keep practicing until you can win the 1-board and 2-board games every time! Try and play without looking back at these strategies, but don't be afraid to look back at them when you need to do so.
Not only have you learned all the strategies you need to win every 1- and 2-board Notakto game, you've also learned all the strategies you need to play on any number of boards! In the next post, I'll take what you've already learned and show you how to generalize those strategies so you can apply them to any number of boards.