Break Club
How to play
Your break style

Saved in this browser. Your game stays the same.

Tic-tac-toe vs the computer: play the position, not a trick

You play X against a local O opponent. There is no forced win against perfect replies from an empty board; a draw is a real result.

0 of your turns · 0 of 9 cells occupied

Press Tab to enter the board. Use arrow keys, Home, or End to move focus; Enter or Space selects a cell. Escape pauses.

Enable JavaScript to play.

The game is saved only in this browser, without syncing between devices.

Prepare another board?

Only the saved Tic-Tac-Toe game will be replaced.

How to play

Tic-Tac-Toe rules

You play X against a local computer playing O. Choose an empty cell to place X; the computer then replies. Connect three marks horizontally, vertically, or diagonally. If the board fills with no line, the result is a draw. Arrow keys move focus; Enter or Space selects a cell. The computer uses a complete search, so perfect play can draw rather than guarantee a human win.

Know which opponent is making the move

The board above uses a local computer opponent. You place X, then the game calculates an O reply on this device. You are not waiting for a stranger, opening an online room, or sending a chat request. The opponent searches continuations of the current board; the label impossible should not be interpreted as a promise that you will always receive a particular score.

Three matching marks in a row, column, or diagonal win. If all nine squares are occupied without a line, the result is a draw. An occupied square cannot receive another mark. Once a line ends the round, you cannot continue placing Xs in the hope that your own line would have appeared later. Timing here means turns, not how quickly you tap.

A good opening is not an always-win sequence

The center and corners participate in useful lines, but no first move forces a win against perfect replies from the empty three-by-three board. When a tutorial shows only your next three positions, ask which O responses it assumes. Many attractive tricks rely on the opponent overlooking a block or choosing a square that allows a fork.

That does not make opening ideas useless. They are ways to understand lines that may become available. The limitation is the guarantee: a pattern that beats one mistake is not proof that it beats every legal defense. Against a correct response, a draw can be the outcome of good decisions rather than evidence that the game ignored your plan.

Check a win before checking a block

At each turn, look for two Xs with their third square free on the same line. A winning move now ends the round before O can reply. If you do not have that move, inspect the lines where O has two marks and a free third square. Leaving one open may let the computer finish immediately after your next placement.

Look at all three rows, all three columns, and both diagonals. A threat along an outside row can be just as important as one crossing the center. Preparing a promising X line is not enough if O already has a faster finish. Blocking a threat keeps the game alive; it does not automatically turn that block into a winning line for you.

Recognize what a fork requires

A fork creates two separate winning threats that need different blocks. The defender can place only one mark per turn, so the second threat may decide the game. However, two pairs of your marks do not automatically make a fork. Their finishing squares must be available, and the opponent must not have an immediate winning move or a forcing reply that interrupts your plan.

If you face two genuine immediate threats and cannot win now, the important error may have occurred earlier. Review the move that allowed the second threat to appear. Looking only at the final losing tap can make a round seem unfair when the board simply no longer contains a single defense that covers both threats.

Use the actual controls and saved state

On a phone, tap an empty square. With a keyboard, enter the board with Tab, move with the arrow keys, and select with Enter or Space. Home and End move to board endpoints. O responds to a valid X move, so seeing two new marks after one action is expected in this computer mode. An invalid occupied-square action does not earn an extra turn.

Pause hides the board and Continue resumes it. Browser storage can keep this game on the current device, and an unfinished round returns paused. It does not synchronize to another phone or computer. If saving is blocked, the game warns that progress will be lost when leaving. Starting a new board requires confirmation and does not clear the other games’ saves.

Choose another format for second-player practice

You play X in this version. To practice O yourself, open the separate two-player same-device board and agree to take the second symbol. That mode waits for a human action on every turn; it does not secretly retain the O computer behind a different heading. It is also not an online multiplayer room.

After a computer round, identify the line that decided it and the last earlier opportunity to prevent that line. The guide provides a concrete block-versus-threat example. Keep wins, losses, and draws distinct when reviewing progress. This page offers a real local opponent and honest rules, rather than a claim that a fixed set of taps can defeat perfect play every time.

Frequently asked questions

Is the opponent another person online?

No. O is calculated locally on this device.

Can I force a win from the empty board?

Not against perfect replies. Correct play can produce a draw.

Do I play X or O here?

You play X in computer mode. Use the separate two-player board to practice O yourself.

Why does O move after my tap?

A valid X move triggers the local computer reply in this mode.

Is a draw counted as a win?

No. A draw fills the board without a winning line and is a separate result.