Play Tic Tac Toe Online — Free 2 Player Game

Category: 2 PlayerGenre: BoardSession length: About 3 min a sessionLast updated: Updated August 2026

Tic Tac Toe grid with X and O marks and a winning line drawn through three

Free · No download · Loads in seconds

Hosted on this site. No download, no sign-up, no plugins.

Introduction

Tic Tac Toe is the first strategy game most people ever learn: a 3 by 3 grid, two players, and the goal of placing three marks in a row. It is simple enough for a child and, against the right opponent, surprisingly tricky — because perfect play always ends in a draw. The version here lets you play against a smart computer opponent or against a friend on the same device, and it runs free in your browser with no download and no account.

About Tic Tac Toe

Tic Tac Toe, also called noughts and crosses, has been played for thousands of years and is the universal gateway game. Its rules fit in one sentence — take turns placing X and O, be the first to make three in a row — and its strategy is small enough to master completely. The game is a draw with perfect play, which is exactly why it teaches the fundamentals of planning and blocking so well.

The three-by-three grid has only nine squares, but the decisions matter. The centre square is the most valuable, the corners are next, and the edges are the weakest. Experienced players know that the way to win is not just to build your own lines but to force your opponent into positions where they cannot block both threats at once.

This version is based on an open-source Tic Tac Toe game by Ramazan Çetinkaya, released under the MIT licence. It runs entirely in your browser with zero dependencies, includes a heuristic computer opponent for solo play, and supports two-player mode on one screen. No download, no sign-up and no waiting.

How to Play Tic Tac Toe

  1. Choose your mark.

    One player takes X and the other takes O. X always moves first, and the players alternate turns on the 3 by 3 grid.

  2. Place your mark.

    Click or tap an empty square to place your X or O. Once placed, a mark stays for the rest of the game.

  3. Make three in a row.

    The first player to place three of their marks in a straight line — across, down or diagonally — wins the game.

  4. Block your opponent.

    If your opponent has two marks in a line with the third square empty, that square is a winning threat. Block it before you build your own lines.

  5. Accept the draw.

    If all nine squares fill with no winner, the game is a draw — the most common result when both players know the game. Start a new round to try again.

Tic Tac Toe Controls

Every keyboard and touch input for Tic Tac Toe.
ActionDesktopMobile
Place a markClick an empty squareTap an empty square
See whose turn it isThe turn indicator shows X or OThe turn indicator shows X or O
See the winning lineThe winning line is highlighted when the game endsThe winning line is highlighted when the game ends
Restart the gameClick the New Game buttonTap the New Game button
Choose game modeSelect Computer or Two Player before startingSelect Computer or Two Player before starting
Start a new roundClick New Game on the result screenTap New Game on the result screen
FullscreenClick the fullscreen button above the gridTap the fullscreen button above the grid
Exit fullscreenEscape keyTap the fullscreen button again

Tic Tac Toe Tips & Strategies

  • Take the centre if you can

    The centre square participates in the most winning lines — four of the eight possible three-in-a-rows pass through it. Control the centre and you control the game.

  • Use the corners second

    After the centre, the corners are the next strongest squares. A mark in a corner creates two potential lines at once, which makes it a real threat.

  • Block every immediate three

    If your opponent has two in a row with an open end, you must play that square or lose. Check for open twos after every move, yours and theirs.

  • Create double threats to win

    The only way to win against a careful opponent is to create two open threats at once. Position your marks so that two different lines each need one more mark — your opponent can block only one.

  • Do not play the edges first

    Edge squares are the weakest opening moves because they create only one potential line. Save them for the middle of the game when they complete a threat.

  • Play the computer to learn

    The computer opponent is a patient teacher. Play against it to learn the opening and blocking patterns, then test them on a human friend.

What makes Tic Tac Toe worth playing

  • Classic Tic Tac Toe against the computer or a friend
  • Runs entirely in your browser with no download or plugin
  • Zero dependencies — loads instantly
  • Quick rounds perfect for a short break
  • Open source under the MIT licence with credit to the developer

Game Info

DeveloperRamazan Çetinkaya
Released2023
GenreBoard, Strategy
PlayersMultiplayer
TechnologyHTML5 / JavaScript
PlatformsDesktop, Tablet, Mobile browser
Average sessionAbout 3 minutes
LicenceMIT
Last updated

What kind of game Tic Tac Toe is

More Games Like Tic Tac Toe

Hand-picked by genre, mechanics and play style — every one of them free and playable in the same browser tab.

Tic Tac Toe — Frequently Asked Questions

Is Tic Tac Toe free to play?

Yes, completely. The game is open source under the MIT licence and free to play here with no payment, no trial and no premium version.

Can I play against the computer?

Yes. The game includes a smart computer opponent, so you can practise alone without needing another player.

Can two people play on the same device?

Yes. Choose the two-player mode and both players share the same screen, taking turns to place X and O.

Why is Tic Tac Toe often a draw?

With perfect play, neither player can force a win — the game always ends in a draw. Against a human opponent who makes mistakes, the game becomes winnable again.

Can I play Tic Tac Toe on my phone?

Yes. Tap an empty square to place your mark. The game works in portrait and landscape on mobile browsers.

How do I win at Tic Tac Toe?

Take the centre or a corner, block your opponent's open twos, and try to create two threats at once. The tips above cover the full strategy.

Licence & Attribution

Tic Tac Toe, based on an open-source game by Ramazan Çetinkaya · MIT License

Licence verified .