Classic 3-in-a-row, right in your browser

Tic Tac Toe

Take turns placing X and O on the 3x3 grid. Be first to line up three in a row — across, up and down, or diagonally. Play locally with a friend or take on a computer opponent.

X 0 O 0 Draws 0

XX's turn

How to play Tic Tac Toe

1

Get three in a row

Take turns placing your mark in an empty cell. The first player to line up three marks — across, up and down, or diagonally — wins the round.

2

Two ways to play

Choose 2 Player (local) to pass the device back and forth with a friend, or pick vs Computer to play solo against a built-in opponent.

3

How the computer plays

The AI looks for an immediate win first, then blocks your immediate win, and otherwise prefers the center, then a corner, then an edge.

FAQ

How smart is the computer opponent?

The computer always takes an immediate winning move if one exists, then blocks your immediate winning move, and otherwise prefers the center, then a corner, then an edge. It's a solid, fair opponent rather than an unbeatable one.

Is my score saved anywhere besides my browser?

No. X wins, O wins and draws are saved only in your browser's local storage on this device, so the tally survives a reload but is never uploaded anywhere.

Does Tic Tac Toe work on mobile and touch screens?

Yes. Tap any cell to place your mark. The board and controls resize to fit phones and tablets and behave the same as on desktop.

Try other tools