HK64
Difficulty

Streak

0

Your move

Top 10

How to play
  1. You are X and always move first — click or tap an empty square.
  2. Line up three of your marks across, down or diagonally to win the round.
  3. Win and the board clears for the next round, keeping your streak.
  4. A loss or a draw ends the run — the streak you reached is your score.
  • Difficulty is how often the computer moves at random: Easy 80%, Medium 35%, Hard 10%. The rest of the time it searches the whole game and plays perfectly.
  • Played perfectly by both sides the game is always a draw, so winning means punishing a slip before the computer recovers.
  • Each difficulty keeps its own leaderboard.

Tic Tac Toe vs Computer: Play Free Online

Play tic-tac-toe free against the computer on Easy, Medium or Hard. Win rounds in a row to build a streak and beat your best on the leaderboard.

About tic-tac-toe

The rules in brief

Tic-tac-toe, also called noughts and crosses, is played on a 3 x 3 grid. Two players take turns to place a mark, X or O. The first to line up three across, down or diagonally wins. A full board with no line is a draw.

The game is small enough to solve completely, and the answer is known: if neither side makes a mistake, it is always a draw. So the only way to win is to punish an error.

Playing here

You are always X and always move first. Click or tap an empty square, and the computer answers as O after a short pause. Win a round and the board clears for the next one with your streak kept. A loss or a draw ends the run, and the number of rounds you won in a row is your score.

Difficulty is how often the computer plays a random square instead of its best move: 80% of the time on Easy, 35% on Medium and 10% on Hard. The rest of the time it searches the whole game and plays perfectly. The roll happens on every move, so a slip can come at any point. The site remembers the difficulty you last chose, and each one has its own top-10 leaderboard.

Strategy: corners and forks

Open in a corner. Against it, only the centre saves O, so a random reply anywhere else usually loses. If O does take the centre, play the opposite corner and keep looking for a slip.

Most wins come from a fork: one move that makes two lines of two at once. O can block only one of them. Before each move, check in this order:

  • Can you complete a line? Do it.
  • Can O complete a line next turn? Block it.
  • Can you make two threats at once? Take that square.
  • Could O make a fork next turn? Take that square first.

Common mistakes

  • Blocking O when you could have won on the spot.
  • Waiting for a second slip. On Hard the next move is usually perfect, so act on the first one.
  • Playing for a safe draw. Here a draw ends the streak just like a loss.

Frequently asked questions

Can you beat the computer at tic-tac-toe?
Only when it makes a mistake, because perfect play always draws. On Hard it slips one move in ten, so a streak of two or three is a good run.
Is this tic-tac-toe game free?
Yes. It is free in your browser with no download or account. Your Personal board is saved in your browser; sign in with Google to post your streaks to the shared This week and All time boards too.
Can I play as O or let the computer go first?
No. You are always X and always move first, so every streak on the leaderboard starts from the same position.