One Miss Is Enough
Most tic-tac-toe games end after only a handful of moves. The mistake that decides the game usually comes before the final line: a late block, a center given away too easily, or a double threat spotted only after both winning squares are open. With perfect play, neither side can force a win. If you can see how that draw is held, you understand more than the win condition.
Check the Board Before You Tap
Before choosing a square, scan the three rows, three columns, and two diagonals. Finish your own three if you can. Otherwise, block any square that lets your opponent win next turn. Both checks come before any positional plan.
If neither side can win immediately, look for a move that leaves two separate winning squares. That double threat cannot usually be stopped in one turn. The same test works in defense: once both squares are open, blocking either one is already too late.

Why the Center Matters
The center belongs to four winning lines, each corner to three, and each edge to two. On an empty board, the center keeps the most routes open. It is not an automatic choice later: an immediate win or forced block comes first. If the other player opens in the center, a corner covers more useful lines than an edge.

The Losing Move Comes Earlier
The final winning square is often impossible to stop. In review, go back to the move that opened two lines at once. A common trap appears when the opponent holds opposite corners and you hold the center; taking an edge prevents the corner double threat. Do not ask which final line to block. Ask where both threats first became possible.

Pick the Right Mode
Use AI play when you want to repeat an opening and compare candidate moves with hints, undo, and replay. When two players are in the same room, put one device between them and swap who controls X after each game. For a remote game, create an online room and send the link. The board and rules stay the same in every mode, and X always moves first.
3×3nine squares
8winning lines
4winning lines through center
Drawresult of perfect play