Tic Tac Toe: Play vs Computer or a Friend
Play tic tac toe online against the computer, from easy to unbeatable, or with a friend. Be X or O, keep score, and see the winning line.
Take turns placing X and O on a 3 × 3 grid. Get three in a row (across, down or diagonally) to win; if the grid fills up first, it's a draw. Play against the computer on Easy (it plays randomly), Medium (it usually spots wins and blocks) or Unbeatable, which plays perfectly, so the best you can do is draw. Or choose 2 players and pass the device back and forth. You can be X, who goes first, or O. The score is kept across games, and the winning line lights up when someone gets three in a row. Tic tac toe (noughts and crosses in the UK and Australia) is a good first strategy game for children: it teaches looking for your own winning move first, then blocking your opponent's, and it shows how a game can be 'solved' so that perfect players always draw. It runs in your browser with nothing to install and no account, on a computer, tablet or phone.
Common use cases
- Play a quick game with a child or a friend
- Try to draw against the unbeatable computer
- Teach strategy and thinking ahead
- Settle a quick decision, best of three
How to use
- Choose an opponent: Easy, Medium, Unbeatable or 2 players.
- Choose whether you're X (first) or O.
- Tap a square to place your mark.
- Press New game to play again; the score carries on.
FAQ
Can you always win tic tac toe?
No. With perfect play from both sides, every game is a draw. You can only win if your opponent makes a mistake, which is why the Unbeatable level never loses.
What's the best first move?
A corner. It gives your opponent the most ways to go wrong: if they reply anywhere but the centre, you can force a win. The centre is the safest choice for the second player.
How many possible games are there?
255,168 different games, counting every order of moves until someone wins or the board fills. Far fewer are really different once you allow for rotations and reflections.
Related tools
- Four in a Row Game: Drop Discs, Line Up 4Play four in a row online, the disc-dropping game also known as Connect 4. Line up four before the computer…
- Dots and Boxes: Play OnlinePlay dots and boxes online against the computer or a friend. Draw lines, close boxes to score and take…
- Checkers: Play Online vs ComputerPlay checkers (draughts) online against the computer at three levels or a friend. Forced jumps, multi-jumps…
- Rock Paper Scissors OnlinePlay rock paper scissors against the computer, or the lizard and Spock version. Keep score, play a best of 3…
- Chess: Play Online vs Computer or a FriendPlay chess free online against the computer at three levels or a friend on the same device. Legal-move dots…
- Jigsaw Puzzle: Play Online or Use Your PhotoDo a jigsaw puzzle online: 12 to 150 pieces, built-in pictures or your own photo, real-shaped pieces that…