奪い三目Tic-Tac-Trap

Tic-Tac-Trap: a tic-tac-toe variant where a predicted move is captured

Tic-Tac-Trap (Japanese: 奪い三目, Ubai Sanmoku) is a tic-tac-toe variant in which the player who is not moving secretly predicts the square the mover will take, and a correct prediction turns the placed mark into the predictor's mark, so any fixed, non-random way of playing loses once the opponent knows it.

You can play it free in a web browser at tic-tac-trap.com or with the iPhone app (App Store), and neither needs an account. The interface is in Japanese only, and the main buttons are translated below.

The author has solved the game by computing every position. With best play the 1st player has a small edge, an expected value of +0.087, and in the computed equilibrium 89.2% of games end with a winner.

Rules

  1. 2 players take turns placing 1 mark at a time on a 3×3 board.
  2. From the 2nd move on, the player who is not placing secretly picks 1 empty square as a prediction of where the mover will place.
  3. If the prediction is correct, the placed mark belongs to the predictor. If it is wrong, the mark belongs to the player who placed it.
  4. The turn passes to the other player whether the prediction was correct or not.
  5. A player wins by getting 3 of their own marks in a row, column, or diagonal. Captured marks count.
  6. If all 9 squares are filled and nobody has 3 in a row, the game is a draw.
  7. There is no prediction on the 1st move, so that mark belongs to the 1st player.

When only 1 square is left, the prediction is always correct, so the 9th mark always goes to the 2nd player.

A prediction is correct when the predicted square and the placed square are the same. Only an empty square can be predicted, and neither choice is shown until both are made.

The turn always passes, so the 1st player places the odd-numbered moves and the 2nd player places the even-numbered moves. The 1st player places the 9th mark and the 2nd player predicts it. The owner of a new mark is decided before lines are checked, and only 1 mark is added per move, so both players never complete a line at the same time.

An example game

The squares are called top-left, top, top-right, left, center, right, bottom-left, bottom, and bottom-right.

  1. Move 1. The 1st player places in the center. There is no prediction on the 1st move, so the center is the 1st player's mark.
  2. Move 2. The 2nd player places. The 1st player predicts top-right, and the 2nd player places top-left. The squares differ, so the prediction is wrong and top-left is the 2nd player's mark.
  3. Move 3. The 1st player places. The 2nd player predicts top-right, and the 1st player places top-right. Both chose top-right, so the prediction is correct and top-right becomes the 2nd player's mark.
  4. Move 4. The 2nd player places, because the turn passes even after a correct prediction. The 1st player predicts top, and the 2nd player places top. Both chose top, so the prediction is correct and top becomes the 1st player's mark.
  5. Move 5. The 1st player places. The 2nd player predicts bottom, and the 1st player places bottom-left. The squares differ, so the prediction is wrong and bottom-left is the 1st player's mark.
  6. Move 6. The 2nd player places. The 1st player predicts bottom, and the 2nd player places bottom. Both chose bottom, so the prediction is correct and bottom becomes the 1st player's mark.

The 1st player now owns top, center, and bottom, which is 3 in a column, and wins. Top and bottom were placed by the 2nd player and captured.

On move 4 the 2nd player needed only top to complete the top row, and on move 6 tried to block the middle column at bottom. The 1st player predicted both squares.

What the full solution shows

The author solved Tic-Tac-Trap by computing every position. After positions that match under the symmetries of the board are merged, 1,537 positions are not finished games. Each position was solved as a matrix game by linear programming, with the mover choosing a square to take and the other player a square to predict.

  • Any fixed way of playing, meaning the same choice every time in the same position, loses once the opponent knows it. Knowing where the opponent will place lets a player capture every mark, and knowing what the opponent will predict lets a player avoid it. Against the best reply, the side whose play is known loses within 6 moves.
  • Best play is randomized. In 1,018 of the 1,537 positions (66.2%), best play has to choose between moves at random with set probabilities.
  • With best play on both sides, the expected value for the 1st player is +0.087. The expected value counts a win as +1, a draw as 0, and a loss as -1. It is the same for every equilibrium.
  • With best play on both sides, 89.2% of games end with a winner. The 1st player wins 48.9%, the 2nd player wins 40.2%, and 10.8% are draws. These shares depend on which equilibrium is chosen, so they are reference values. Each share is rounded separately, so they do not add up exactly.
  • Against an opponent who picks squares at random, the equilibrium strategy gains only 0.234 as the 1st player and 0.293 as the 2nd player. To say that the game is more than a guessing game, the equilibrium strategy would have to beat a random opponent by a wide margin. 0.234 and 0.293 are small, so they are weak support for saying so, and they also depend on which equilibrium is chosen.

An equilibrium is a pair of strategies in which neither player gains by changing strategy alone. Tic-Tac-Trap has more than 1 equilibrium, and the expected value is the same in all of them.

In a 2-game match with the starting player swapped, the chance that either player finishes ahead is 58.7%.

The CPU opponent plays an equilibrium from this solution, drawing each move from the solved table with the listed probabilities. The numbers on this page come from the author's own computation, and the solver's source code is not public.

How it compares with other variants

The table compares Tic-Tac-Trap with regular tic-tac-toe and 3 well-known variants. Sources for the other games are listed below the table.

GameRule changeHidden choicesResult with best play
Tic-tac-toeNone. Players take turns on a 3×3 boardNoDraw
Tic-Tac-TrapThe player not moving predicts the mover's square, and a correct prediction captures the markYes (the prediction)Expected value +0.087 (a small edge for the 1st player)
Ultimate tic-tac-toe9 small boards in a 3×3 grid, and each move decides which board is played nextNo1st-player win in the version where decided boards stay playable
Misère tic-tac-toeA player who completes 3 in a row losesNoDraw
Infinite tic-tac-toeEach player keeps at most 3 marks, and placing a 4th removes that player's oldest markNo1st-player win in 13 moves
  • Tic-tac-toe: Wikipedia's Tic-tac-toe article calls it a solved game with a forced draw under best play.
  • Ultimate tic-tac-toe: Wikipedia's Ultimate tic-tac-toe article says a 1st-player win was shown in 2020 for the version in which players keep playing in boards that are already decided. The article gives no result for the standard rules.
  • Misère tic-tac-toe: Wikipedia's Tic-tac-toe variants article says the 3×3 game is a draw.
  • Infinite tic-tac-toe: TicTacToe100 reports a forced 1st-player win in exactly 13 moves and credits a solver by another author. The author of Tic-Tac-Trap also solved these rules and got the same result. That computation treats play that never ends as a draw, and the forced win does not depend on this.

FAQ

What is Tic-Tac-Trap?

Tic-Tac-Trap is a 2-player tic-tac-toe variant in which a correctly predicted move is captured. On every move after the 1st, the player who is not placing secretly predicts the mover's square. If the prediction is correct, the placed mark belongs to the predictor. Its Japanese name is 奪い三目 (Ubai Sanmoku).

How is Tic-Tac-Trap different from regular tic-tac-toe?

In Tic-Tac-Trap the owner of a placed mark depends on the other player's hidden prediction. In regular tic-tac-toe a mark always belongs to the player who placed it, and best play ends in a draw. In Tic-Tac-Trap best play is randomized, and 89.2% of games between best-playing sides end with a winner. The 89.2% depends on which equilibrium is chosen.

Is Tic-Tac-Trap solved? Who wins with perfect play?

Yes, the author has computed the value and a best strategy for every position. Predictions are hidden, so perfect play is randomized and the result is an expected value. The 1st player's expected value is +0.087, a small edge. In the computed equilibrium the 1st player wins 48.9% of games, the 2nd player wins 40.2%, and 10.8% are draws, and other equilibria give other shares.

Is there a strategy that always wins?

No. Any fixed way of playing loses once the opponent knows it, whether you are the 1st player or the 2nd player. Best play chooses between moves at random with set probabilities, and it gives the 1st player an expected value of +0.087. No strategy guarantees a win.

Does the 1st player have an advantage?

Yes, a small advantage. The 1st player's expected value with best play is +0.087, and this number is the same for every equilibrium. Leaving out draws, the 1st player wins 54.9% and the 2nd player wins 45.1%, and these shares depend on which equilibrium is chosen. The website and the app swap who starts after every game.

Can a game end in a draw?

Yes. A game is a draw when all 9 squares are filled and neither player has 3 in a row. With best play on both sides, 10.8% of games are draws. This share depends on which equilibrium is chosen.

How many players does Tic-Tac-Trap need?

Tic-Tac-Trap is a 2-player game. You can also play alone against the CPU. 2 people can share 1 device or play online on separate devices.

Is Tic-Tac-Trap free, and where can I play it?

Yes, it is free on the web and on iPhone. Play in a browser at tic-tac-trap.com, or install the iPhone app (App Store). The app needs iOS 17.0 or later. Neither version asks you to create an account.

Can I play Tic-Tac-Trap online, and is there an English version?

You can play online, but the interface is in Japanese only. Online play has 3 ways to meet an opponent: a waiting stranger (挑戦者), a keyword that both players type (合言葉), or a QR code that the other player scans. The web version and the iPhone app can play each other.

Who made Tic-Tac-Trap, and when was it released?

Tic-Tac-Trap was made by konaito, a software engineer in Japan. The web version was released on November 28, 2026. The iPhone app was released on the App Store on December 1, 2026, Japan time.

Where to play

The interface is in Japanese only. These are the main buttons.

  • 対局 (Play): the board.
  • ルールと分析 (Rules and analysis): the rules and the analysis, in Japanese.
  • CPU対戦 (vs CPU): play against the computer.
  • ふたりで1台 (2 players, 1 device): share a device and pass it back and forth.
  • オンライン (Online): play another person on a separate device.

On your turn to place, tap an empty square. On the other player's turn, tap the empty square you predict they will take.

About this page

The author of Tic-Tac-Trap is konaito. An automated test checks the numbers on this page against the output of the solver. Last updated on December 2, 2026.

The Japanese pages have more detail: ルールと統計的分析 (rules and analysis) and よくある質問 (FAQ).