Tic Tac Toe Online

Play Tic Tac Toe against the computer. You are X, the computer is O, and the first player with three in a row wins.

0You
0Draws
0Computer
Your move.
How to play

Get three in a row before the computer does.

Pick a square

Tap an empty square to place X on the board.

Watch the block

The computer checks for winning moves and blocks before choosing.

Win or draw

Three marks in a row wins. If the board fills, the round is a draw.

About the game

Tic Tac Toe: A Brief History

Screenshot of the Tic Tac Toe board mid-game, with your X marks and the computer’s O marks on the 3×3 grid on SimpleGames.online
Take three in a row before the computer does.

Tic Tac Toe is one of the oldest and most universally recognized games in the world. Grid-based alignment games were played in ancient Egypt and Rome, where similar patterns were carved into stone and wood. The modern version, called "noughts and crosses" in Britain, became popular throughout the 19th century before spreading globally as Tic Tac Toe in North America.

The appeal is its elegant simplicity — two players, nine squares, and a clear objective. Despite having only 255,168 possible game sequences, it remains enduringly popular as one of the first games where players discover "forced draws." When both sides play perfectly, neither can win. This makes Tic Tac Toe a fascinating introduction to game theory and strategic thinking for all ages.

Today Tic Tac Toe appears in elementary school classrooms and computer science courses alike. It is one of the classic exercises for teaching adversarial search algorithms like minimax. Our browser version pits you against a computer that blocks obvious threats and looks for winning opportunities — a solid sparring partner for any quick game.

Tips & strategy

Play smarter, not harder.

Take the center first

The center square connects to more winning lines than any other square — rows, columns, and both diagonals all pass through it. Grabbing it on your first move forces the opponent to defend more carefully.

Set up a fork

A fork means creating two simultaneous winning threats at once. The opponent can only block one, so the other wins. Corner-to-center-to-corner placements are the most reliable fork pattern.

Respond to corners

If the computer starts in a corner, respond in the center to limit its options. Ignoring a corner opening risks leaving the computer room to build an unblockable two-way attack.

Play for draws against a strong opponent

Once both sides are playing optimally, every game ends in a draw. Challenge yourself to maintain perfect defensive sequences and deny the computer any mistakes.

Frequently asked questions

Common questions about Tic Tac Toe.

Can I ever beat the computer?

The computer uses a blocking strategy — it prevents obvious wins and takes winning moves when they appear. It does not use perfect minimax play, so you can win with the right sequence. Controlling both a corner and the center to create a fork gives you the best chance.

What happens if the board fills up without a winner?

If all nine squares are filled without either side getting three in a row, the game is a draw. Draws are tallied in the scoreboard above the grid so you can track your progress across multiple rounds.

Is Tic Tac Toe good for young children?

Absolutely. Tic Tac Toe teaches children to think one or two moves ahead, recognize patterns, and understand blocking. It is widely recommended for ages 4 and up as an introduction to strategic thinking and works well as a classroom activity or quiet play break.

Is this game free with no signup?

Yes — completely free, no account required, no download. Open the page and you are ready to play. Everything runs in your browser using plain HTML, CSS, and JavaScript.

Related games