Skip to content

Play tic tac toe 2 player online in seconds

Play tic tac toe 2 player online for free, right in your browser. Create a room, send your friend the room code or invite link, and you are trading Xs and Os within seconds. There is nothing to download and no account to make, and it works the same on a phone, tablet or computer. Sitting next to each other? Play Local vs and pass one device. On your own? Take on the computer. It is the classic 3×3 game of noughts and crosses online, also called X and O, and one of 50+ free multiplayer games on My MP Games.

The board is on this page when it loads. There is no login wall and no app to install. The lobby offers Create room, Join room, Play vs Computer and Local vs, and a round is nine marks at most.

How to play tic tac toe online

Starting a game

Choose Create room to host. You get a short room code plus a Copy invite link button, so you can paste it into WhatsApp, Discord, iMessage or any chat. Your friend opens the link (or types the code under Join room), both of you press Ready, and the host starts the match. Prefer to play straight away? Pick Play vs Computer or Local vs instead.

The code is five characters, shown in large type under Invite a friend. Copy code copies just the code. Copy invite link copies the page address with the code already in it. The join box accepts a typed code or a pasted link. Only the host sees Start match. The other player sees Waiting for host to start. Play vs Computer and Local vs skip the waiting room and open an empty board at once. A gamer tag is optional, and no account is required.

Taking your turn

X always moves first. On your turn, click or tap any empty square to place your mark. Your opponent's move appears on your screen instantly. The board ignores taps when it is not your turn, so you never place a mark by accident on a phone.

Seat one is X and seat two is O. A square that already has a mark cannot be chosen again, and squares are disabled when it is not your turn or the round is over. Three in a line are highlighted as soon as they land. Online, the server checks the square and the turn, then sends the board to both players and to anyone watching. You do not refresh to see the reply.

Tic tac toe rules

  1. The game is played on a 3×3 grid of nine squares.
  2. One player is X and the other is O. X moves first, then the players alternate.
  3. On each turn you place one mark in an empty square. Marks never move once placed.
  4. The first player to get three of their marks in a row, across, down or on either diagonal, wins immediately.
  5. If all nine squares are filled and nobody has three in a row, the game is a draw (often called a "cat's game").
  6. A rematch keeps the same seats. X is always the first seat, so the same player opens unless you start a new room and the other player hosts.

There is no score target and no timer. One line of three ends the round at once, even if empty squares remain. Both diagonals count. When the round ends online, each person presses Rematch, and the next board starts when both have pressed it. The host stays X, because the seats do not switch. Local vs and Play vs Computer use Restart match instead, and that also keeps Player 1 as X. To hand the opening move to your friend, leave and let them press Create room so they become seat one.

Keyboard and touch controls

On a phone or tablet, tap a square to place your mark. On a computer, click a square with the mouse. In Local vs the two players simply take turns on the same screen, so there is nothing to set up. Menus, room codes and the rematch button all work with touch, mouse or keyboard navigation.

Every square is a button. Tab moves between the empty squares, and Enter or Space places the mark in the focused one. Filled squares, and squares that are not yours this turn, are disabled. Escape closes the result card. Create room, Join room, Ready, Start match, Copy code and Copy invite link are buttons too. Local vs does not split the keyboard and it does not use a pair of joysticks. One person plays, then passes the device.

Game modes

The same 3×3 rules run in every mode. What changes is who sits in the two seats. A private room is for a friend you already know, the live arena is for someone who is free right now, Local vs is for two people side by side, and the computer is for when you are alone. That is the tic tac toe online multiplayer setup on this page.

Online with a friend (room code or invite link)

The host creates a private room and shares the code or link. Moves sync live, both players see the same board, and you can rematch as many times as you like. The host can lock the room or approve who joins, and set the room to public or private.

This is tic tac toe online with friends on two screens. Phones and computers can play each other. The host can turn on Lock room so nobody else can take a seat, and can turn Auto-approve joiners off so each arrival waits for Approve or Deny. Public lists the room for people who want to watch. Private hides it from that list. Spectators see the marks and can use the room chat, but they cannot place a mark. The board shows Spectating — read-only.

Local 2 player on one device

Two players, one screen. Perfect for a classroom, a car journey or a quick break with a friend: X taps, then hand it to O.

Local vs names the seats Player 1 and Player 2. Player 1 is X and opens. There is one shared set of squares. Restart match clears the grid and deals the same seats again. Nobody needs a second phone, an account or a code.

Tic tac toe vs computer

Practise solo against the CPU. It blocks your lines and punishes careless moves, which makes it a great way to learn the strategy below before you challenge a friend.

Press Play vs Computer and the board starts immediately. You are X and the computer answers as O. On its turn it completes a line of three if it can, blocks you when you have two in a line, takes the centre if it is free, and otherwise picks an empty square. There is no Easy, Medium or Hard picker on this game. Restart match deals a fresh grid with you as X again.

Challenge online players and spectate

No friend free? See who is online in the arena and send a duel invite, no login needed. Friends can also join a room as spectators and watch the game read-only.

The online list shows people who are on the site right now. Press Challenge, pick this game and send. The challenge card says no login is required. If they accept, you both land in a room. A spectator link opens the board without a seat, the read-only pill stays up, and those taps do not place a mark. If a seat is free and the host allows it, a watcher can ask to sit down.

Tic tac toe strategy: how to never lose

With perfect play from both sides, tic tac toe always ends in a draw. So most wins come from your opponent missing a block, and most losses come from a fork you did not see coming.

The best first move

The centre square is part of four winning lines (one row, one column and both diagonals), so it is the safest opening. A corner, part of three lines, is the strongest alternative and sets more traps against new players. An edge square is the weakest start.

An edge, the middle of a side, is part of fewer lines than a corner. If you are O and X has already taken the centre, do not answer on an edge.

Forks: making two threats at once

A fork is a move that creates two lines of two at the same time. Your opponent can only block one, so you win on the next move. A classic pattern: as X, take a corner, and if O answers anywhere except the centre, take the opposite or adjacent corner to set up a fork.

If the mark you are about to play leaves two different lines that each need only one more of your marks, you have a fork. Blocking one of them still leaves the other.

Playing O: how to stop a fork

If X opens in a corner, always answer in the centre. If X then takes the opposite corner, play an edge, not a corner, to avoid walking into a fork. And the golden rule for both sides: whenever your opponent has two in a line, block it before anything else.

A line of two with an empty end is a loss if you ignore it, because the next mark finishes it. Block that first, then go back to the centre and the corners. Played this way from both seats, the full grid is a draw.

History of tic tac toe and noughts and crosses

Three-in-a-row games go back thousands of years. Grids like it were scratched into stone in ancient Egypt, and the Roman game terni lapilli used three pieces each on a similar board. The paper-and-pencil version became popular in 19th-century Britain as "noughts and crosses", and the name "tic tac toe" spread in the United States in the early 20th century. In 1952, OXO on the EDSAC computer in Cambridge became one of the first video games ever made, and it was tic tac toe. Today's popular variants include 4×4 boards, Ultimate tic tac toe (nine small boards inside one big one) and five-in-a-row on a big grid, which is Gomoku, five in a row online.

This page keeps the classic nine squares. It does not switch to a 4×4 grid or to nine boards inside one. Noughts and crosses online is the same game under the British name. For a longer line on a wider grid, Gomoku uses one mark per turn and no captures. Connect 4 2 player adds gravity, and Connect Three shortens the target to three discs that fall.

Tic tac toe 2 player online board with X and O on a 3×3 grid

Tic tac toe 2 player online FAQ

Can you play tic tac toe 2 player online with friends?

Yes. Create a room, share the room code or invite link, and your friend joins from their own phone or computer. Moves appear live on both screens, and it's free with no sign-up.

Is this tic tac toe 2 player online game free?

Yes, completely free. There's no download, no account and no payment, and it works in any modern browser.

Can two players play tic tac toe on one device?

Yes. Choose Local vs and take turns tapping squares on the same phone, tablet or computer.

Can I play tic tac toe against the computer?

Yes. Pick Play vs Computer for instant solo practice, no waiting for an opponent.

Who goes first in tic tac toe?

X always moves first. A rematch keeps the same seats, so the same player opens with X. To let the other player open, start a new room and let them host.

What is the best first move in tic tac toe?

The centre square, because it's part of four winning lines. A corner is the next best choice.

Can tic tac toe end in a draw?

Yes. If all nine squares fill with no three in a row, it's a draw. With perfect play from both sides, every game is a draw.

Is tic tac toe the same as noughts and crosses?

Yes. Noughts and crosses is the British name and X and O is another common name; the rules are identical.

More free 2 player games

If you want another short board game after this one, try these. Each one uses the same room code, Local vs and Play vs Computer lobby, and each is free in the browser.