Play Tic Tac Toe Online Free - X O Game

What Is Tic Tac Toe?

Tic Tac Toe (also called Noughts and Crosses) is the world's best-known three-in-a-row game: two players take turns marking a 3x3 grid, and the first to line up three of their marks - horizontally, vertically or diagonally - wins. With perfect play it always ends in a draw, but that simplicity is exactly why it is the classic warm-up for learning strategy, free in your browser.

On this page you always play against the computer. There is no two-player mode to set up - pick a mode, pick a difficulty, and start. The challenge is not beating another human at the board next to you; it is beating an AI that never gets bored and never blinks.

How to Play Tic Tac Toe

  1. Take turns placing your mark. You and the AI alternate putting a mark in any empty cell. You play X when you move first, and O when the AI opens the game.
  2. Aim for three in a row. Three of your marks in a horizontal, vertical or diagonal line wins the game.
  3. Block your opponent. Whenever the AI has two in a line with an open third, that third cell is a must-block - miss it and the game is over.
  4. Settle for a draw when both play well. Two perfect players always draw - the game's real skill is capitalising on a mistake. The harder levels rarely make one.

Two Game Modes

The launch panel offers two ways to play. Both are against the AI and both use the same rules - the difference is whether a clock is running.

Tic Tac Toe start panel with Rank Mode selected, Normal Mode option and Easy, Medium and Hard difficulty buttons
The launch panel. Rank Mode is selected (green) and the difficulty is set to Medium - the opponent is always the computer.
ModeHow it worksRanked?
Rank ModeA 10-minute challenge. Every game you win scores one point, and a new board is dealt the moment the previous one ends. When the clock hits zero your win count is submitted to the leaderboard.Yes - most wins
Normal ModeUntimed practice. Play as many games as you like, with no countdown and no submission. Wins and losses are still counted on screen so you can see how you are doing.No
Tic Tac Toe start panel with Normal Mode selected and a plain Start button
Switching to Normal Mode turns the panel blue and the main button becomes a plain Start - no countdown, no submission.

Three Difficulty Levels

  • Easy - the AI plays loosely and will miss an obvious block. Use it to learn the board and the turn order.
  • Medium - the AI blocks immediate threats and takes free wins, but does not plan forks several moves ahead. A solid default.
  • Hard - the AI defends properly and will convert any slip into a fork you cannot answer. Expect draws, and treat a win as a real result.

Difficulty is part of your leaderboard identity: Easy, Medium and Hard each have their own ranking board, so a Hard-mode win is never mixed in with Easy-mode wins.

Playing a Game

Tic Tac Toe game in progress against the AI, with O in a corner and X in the centre, showing Level, Time and Wins in the header
A game in progress on Medium. The header shows your level, the countdown and your win count; the strip under the board tells you whose turn it is.

Your mark is X when you move first and O when the AI opens. The header tracks the level, the remaining time (Rank Mode) and your win count; the strip under the board shows whose turn it is, and colours itself to match the mark being played.

The AI takes its turn about half a second after yours, which is fast enough to feel live but slow enough that you can follow what it is doing. If you want to abandon a game, press Restart and confirm - that board is thrown away.

Winning, Drawing and Losing

Tic Tac Toe win banner on a completed board with three X in a row, reading You win
Three X in a row ends the round. In Rank Mode the next game is dealt automatically a moment later - the clock never stops for you.
  • You win - three of your marks in a line. In Rank Mode this adds one to your score and the next board appears automatically.
  • Draw - the board fills with no line. No points either way, and in Rank Mode the next game starts just the same.
  • AI wins - the AI completes its line first. No penalty beyond the lost time, but the seconds you spent are gone from the clock.

Because Rank Mode rewards volume, a draw is not free: it costs you the same ten or fifteen seconds a win would have taken. That is why the fastest route up the leaderboard is playing the difficulty you can win on most reliably, not the hardest one.

Scoring and Ranking Rules

  • One win equals one point. Draws and losses score nothing - only games you win count.
  • Rank runs last 10 minutes. The countdown starts when you press Start and never pauses, not even while the win banner is on screen.
  • Boards are separated by difficulty. Easy, Medium and Hard each have a separate leaderboard.
  • Higher is better. The leaderboard sorts by win count descending.
  • Only your personal best is kept. Replaying a difficulty replaces your entry only if you beat your own record.
Tic Tac Toe Rank Mode results panel showing four wins and a personal best of six, with a Submit Score button
When the 10 minutes are up, the results panel shows how many games you won and your personal best for that difficulty.

Tic Tac Toe Rules at a Glance

RuleDetail
Board3x3 grid, nine cells
PlayersYou versus the computer
Win condition3 in a row - horizontal, vertical or diagonal
DrawBoard fills with no three in a row
DifficultyEasy / Medium / Hard, each separately ranked
Cost & accessFree, no download, no sign-up

Strategy Tips

  • Open in a corner. A corner opening gives the AI the fewest safe replies and sets up the most potential winning lines.
  • Force a fork. A fork is two separate lines that each need one more mark - create one and the AI cannot block both.
  • Answer the centre when you are second. If the AI opens in the centre, reply in a corner; if it opens in a corner, take the centre to neutralise its advantage.
  • Never ignore a two-in-a-row. Against Medium and Hard, a missed block is not a mistake you get to recover from.

Tic Tac Toe FAQ

Is Tic Tac Toe free?

Yes - it is completely free on this site. No paywall, no download and no account; open the page and start playing.

Can I play against another person?

No. This version is single-player only - you always play against the computer, and you choose how strong it is with the Easy, Medium and Hard levels.

Can the AI always draw?

On Hard it defends well enough that a draw is the normal result. With perfect play on both sides Tic Tac Toe always ends in a draw, so beating Hard requires the AI to be given a position it cannot hold.

Where should I place my first mark?

Opening in a corner is the strongest start - it creates the most possible winning lines and leaves your opponent the fewest good replies. Taking the centre is the safest response as second player.

Which difficulty should I play for ranking?

The one you win on most often. Wins are what count, and each difficulty has its own board, so there is no bonus for playing Hard - only fewer points per minute if you keep drawing.