한국어

Tic Tac Toe

Get three in a row before the other side

First to make a line wins

Play the computer on easy, normal or hard, or take turns with a friend on one screen. The score carries over from game to game.

Controls

Tap an empty square to play
Keys 1 to 9 follow the number pad layout (3×3)
Arrow keys to move, Enter to play
When a game ends, tap or press Enter for the next one

How do you play Tic Tac Toe?

Two players take turns placing X and O on a 3×3 grid. The first to fill a row, a column or a diagonal with three of their own marks wins. If all nine squares fill up with no line, the game is a draw.

The game is also known as Noughts and Crosses, or Xs and Os. In this version you play X and the computer plays O.

What are the rules?

BoardThe classic 3×3 grid, with 4×4 and 5×5 boards as options.
MovesOn your turn, place one mark in any empty square. Marks never move once placed.
WinningThree in a row on 3×3, four in a row on 4×4 and 5×5, across, down or diagonally.
DrawEvery square is filled and nobody made a line.
First moveChoose me, the computer or alternate. With two players it is X first, O first or alternate.

How do the computer levels differ?

Easy plays almost at random. Normal only looks for a winning move or a block and slips up now and then. Hard reads every line to the end and never loses on 3×3. Perfect play from both sides always ends 3×3 Tic Tac Toe in a draw, so a draw is the best result against hard.

On 4×4 and 5×5 the computer looks several moves ahead and weighs how promising each line is. The bigger boards make four in a row much harder to finish, so games turn into long blocking battles.

How do you win at Tic Tac Toe?

  1. If you go first, take the center or a corner. The center sits on four lines and each corner on three.
  2. Block two in a row right away. Miss a line with one gap left and you lose on the next move.
  3. Look for a fork. A move that sets up two winning lines at once cannot be fully blocked.
  4. If your opponent opens in a corner, take the center. Answering on an edge leaves you open to a fork.

The scoreboard counts your wins, draws and computer wins game by game. Your record for each board and level, plus your last settings, is saved in this browser. If you like longer lines, try Gomoku too.

Frequently asked questions

Is Tic Tac Toe free?

Yes. Play it free right on this page with no download or sign up, on computers, phones and tablets.

Is Tic Tac Toe the same as Noughts and Crosses?

Yes. Noughts and Crosses is the British name for the same game of placing X and O on a 3×3 grid to get three in a row. It is also called Xs and Os.

Can I beat the hard computer?

Not on 3×3. Hard reads every possible move to the end, so it never loses, and if you also play perfectly the game ends in a draw. Pick easy or normal if you want to win.

Does going first help?

A little. The first player has more chances to win, but with perfect play from both sides 3×3 Tic Tac Toe always ends in a draw.

What changes on 4×4 and 5×5?

The board is bigger and you need four in a row. There is more to block, games last longer and setting up two threats at once matters even more.

Can two people play?

Yes. Choose two players and take turns as X and O on the same screen. Set first move to alternate to switch who starts each game.

Can I play with a keyboard?

Yes. On 3×3 the keys 1 to 9 match the number pad layout, with 7 at the top left and 3 at the bottom right. You can also move with the arrow keys and press Enter.