
Play Tic Tac Toe Online — Free 2 Player Game

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
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.
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.
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.
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.
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
| Action | Desktop | Mobile |
|---|---|---|
| Place a mark | Click an empty square | Tap an empty square |
| See whose turn it is | The turn indicator shows X or O | The turn indicator shows X or O |
| See the winning line | The winning line is highlighted when the game ends | The winning line is highlighted when the game ends |
| Restart the game | Click the New Game button | Tap the New Game button |
| Choose game mode | Select Computer or Two Player before starting | Select Computer or Two Player before starting |
| Start a new round | Click New Game on the result screen | Tap New Game on the result screen |
| Fullscreen | Click the fullscreen button above the grid | Tap the fullscreen button above the grid |
| Exit fullscreen | Escape key | Tap 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
| Developer | Ramazan Çetinkaya |
|---|---|
| Released | 2023 |
| Genre | Board, Strategy |
| Players | Multiplayer |
| Technology | HTML5 / JavaScript |
| Platforms | Desktop, Tablet, Mobile browser |
| Average session | About 3 minutes |
| Licence | MIT |
| 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 .




