Tic Tac Toe Online: Free Game vs Computer or 2 Players

    You (X)
    0
    Computer (O)
    0
    Draws
    0

    Your turn

    Get three in a row, across, down or diagonally. X goes first. The score stays on this page until you reset it or close the tab.

    Play tic tac toe online for free: against the computer on an easy or an unbeatable hard level, or with a friend on one screen. Get three marks in a row on the 3×3 grid. There is nothing to install and no sign-up.

    Free gameUpdated November 13, 2026No sign-up. Runs in your browser.

    How to play tic tac toe

    1. Pick a mode: Vs computer, or 2 players to share one screen. Against the computer, pick Easy or Hard and who starts.
    2. Tap an empty square to place your mark. X always goes first, then the turns alternate.
    3. Get three of your marks in a row, across, down or on a diagonal, before your opponent does. The winning line lights up.
    4. If all 9 squares fill with no line, it is a draw. Press New game to play again; the score stays until you reset it.

    Can you beat the computer on Hard?

    No. Hard searches every possible continuation of the game (there are never more than 9 squares to fill) and always plays a move that keeps the best result open to it, so it never loses. The best you can do against it is a draw, and it punishes a mistake at once. Easy takes a win when one is on the board and otherwise picks a free square at random, so it never blocks on purpose, and a careful player beats it.

    How do you never lose at tic tac toe?

    Play the first rule on this list that applies, every turn. Followed to the letter, it cannot lose:

    1. Win: if you have two in a row with the third square free, take it.
    2. Block: if your opponent has two in a row, take the third square.
    3. Fork: make a move that threatens two lines at once, so one block cannot stop both.
    4. Stop their fork: take the square that would give your opponent a fork.
    5. Take the centre if it is free.
    6. If your opponent holds a corner, take the opposite corner.
    7. Take any free corner, then any free side.

    What is the best first move?

    A corner. From a corner the opponent has only one reply that avoids losing, the centre, and every other reply loses to correct play, so a corner gives a careless opponent the most ways to go wrong. The centre is almost as strong, and a side is the weakest opening. With best play from both players every opening ends in a draw.

    How many ways can you win?

    There are 8 winning lines on the 3×3 grid: 3 rows, 3 columns and 2 diagonals. The centre sits on 4 of them, each corner on 3 and each side on 2, which is why the centre and the corners are the strong squares.

    2 players on one screen

    Choose 2 players and pass the phone or share the screen: X and O take turns, the winning line lights up, and the score for each player is kept until you reset it. Changing the mode or the level starts a fresh score.

    Looking for another quick game for two? Try checkers or battleship, both free in the browser.

    Sources

    See also: Dreidel Online

    Frequently asked questions

    Is tic tac toe a solved game?

    Yes. With best play from both sides it always ends in a draw, so neither player can force a win against an opponent who makes no mistake.

    Who goes first in tic tac toe?

    X goes first. Against the computer you choose who starts: if you start you play X, and if the computer starts it plays X and you play O.

    Can the computer lose on Hard?

    No. Hard never loses: the best result you can get against it is a draw.

    How is Easy different from Hard?

    Easy takes a winning square when one is free and otherwise plays a random square, so it never blocks on purpose. Hard always plays the best move.

    How many squares are there, and how many lines win?

    There are 9 squares in a 3×3 grid and 8 winning lines: 3 rows, 3 columns and 2 diagonals.

    Can I play with a friend on the same phone?

    Yes. Choose 2 players, then take turns tapping the squares on the same screen.

    Is tic tac toe the same as noughts and crosses?

    Yes. Noughts and crosses is the British name, and it is the same game with the same rules.

    Does the page save my games?

    No. The score lives on the page until you reset it or close the tab, and nothing is sent to us.

    More free tools

    In Telegram

    New to Gift Club? A welcome pack is yours in Telegram

    Gift Club is a Mini App in Telegram. New players get 10 Sparks, a Streak Freeze and a welcome gift the moment they open it.

    Get the welcome pack in Telegram