← Back to Menu

❌ Tic-Tac-Toe

❌ X
0
Draw
0
⭕ O
0
X's turn

How to play

Players take the nine squares of a three by three grid in turn, X first, and the first to hold three in a line wins. There are eight lines: three rows, three columns and the two diagonals. If all nine squares fill with no line, the round is a draw. You can play against another person at the same screen or against the computer, which always plays O and replies about a third of a second after your move.

Scoring

The three counters at the top track completed rounds rather than points: wins for X, draws, and wins for O. They increase by one whenever a round ends and are not reset by the New Round button, so the tally accumulates for as long as you keep playing. Switching between two-player and AI mode also starts a new round without clearing the totals, which means the two modes share a scoreboard.

Tips

Frequently asked questions

Can I beat the AI?

No. It evaluates every possible continuation before each move, so the best available result is a draw.

Does the scoreboard ever reset?

Not from within the game. New Round and the mode buttons both leave the totals alone; reload the page to clear them.

Can I play this on a phone?

Yes — on a touch screen the game shows on-screen buttons, and games played with a mouse work by tapping.