Bublik Games logo Bublik Gamesbrowser games Sign in RU

Tic tac toe rules

Tic tac toe, also called noughts and crosses, is a two player game on a 3 by 3 grid: take turns and make three in a row. Here are the rules, the eight winning lines, a game played move by move and a tour of nine rule sets.

Contents
  1. How do you play noughts and crosses?
  2. How many Xs and Os are on a full grid?
  3. What are the eight winning lines?
  4. When is tic tac toe a draw?
  5. A game, move by move
  6. Which other rule sets are there?
  7. Frequently asked questions

How to play tic tac toe: two players take turns marking squares on a 3 by 3 grid, one with X and one with O. X moves first. The first player to place three of their own marks in a row, across, down or diagonally, wins. If all nine squares are full and nobody has a line, the game is a draw. You can play it free in your browser: play tic tac toe free online against the computer or with a friend on one screen.

The rest of this page covers turn order, how many Xs and Os end up on the grid, the eight lines, a real game and the other eight rule sets built into our game.

How do you play noughts and crosses?

X always starts, then the players alternate. You cannot skip a turn, move a mark or erase one. Any empty square is legal. The game stops the moment someone completes a line or the grid is full.

Against the computer our game swaps sides from one game to the next, so the first move does not always go to the same person. Before a game you can also choose who goes first: you, your opponent, or take turns.

How many Xs and Os are on a full grid?

A full grid has five Xs and four Os. There are nine squares, X plays moves 1, 3, 5, 7 and 9, so X places five marks and O places four. A game that ends with a win has fewer marks: if X wins on move five, there are three Xs and two Os.

What are the eight winning lines?

Three rows, three columns and two diagonals. Number the squares 1 to 9 row by row and the lines are:

TypeLines
Rows1-2-3, 4-5-6, 7-8-9
Columns1-4-7, 2-5-8, 3-6-9
Diagonals1-5-9, 3-5-7

The centre square sits on four lines, a corner on three and an edge on two. That is why most good play starts with the centre. For a plan that works in practice, read how to win at tic tac toe.

When is tic tac toe a draw?

When the grid is full and neither player has three in a row. If both sides play without mistakes, classic 3 by 3 always ends in a draw, so a win can only come from an error. That is also why people look for advanced tic tac toe: the same idea on boards where mistakes are easier to make.

A game, move by move

This game comes from the rules screen of our game. The numbers show the order of moves.

A tic tac toe game that ended in a draw, nine moves numbered on the marks
A draw on move nine: each player blocked the other in time

X takes the centre (1) and O takes a corner (2). X plays the top right corner (3), threatening the diagonal 3-5-7, and O blocks it (4). O now has two marks in the left column, so X blocks that (5), which also threatens the middle row, and O blocks the row (6). X threatens the middle column (7), O blocks (8), and on move nine X stops O's bottom row. The grid is full: a draw.

Which other rule sets are there?

Our game has nine in total. Classic is one of them, and the others change the board, the goal or how a move works.

SetBoardWhat changes
Classic3 by 3three in a row wins
Vanishing3 by 3each side keeps three marks, a fourth erases the oldest; draw after 50 moves
Five in a Row11 by 11a line of five or more wins
Nine Boards9 by 9the square you pick decides which small board your opponent plays
Misère3 by 3making three in a row loses
Wild3 by 3you choose X or O on every move
Order and Chaos6 by 6players have different goals, no draws
Notaktothree 3 by 3 boardsboth play X, whoever kills the last board loses
Cube Slide5 by 5take a cube from the edge and push it in from an end of its row

Two of them have their own pages: wild tic tac toe and nine board tic tac toe. To practise before a game with a person, try a tic tac toe bot with three levels. More ideas for the evening: free 2 player games online.

Frequently asked questions

Who goes first in tic tac toe?

X goes first. In our game you pick before the game whether you start, your opponent does, or you take turns.

How many Xs and Os are on a full board?

Five Xs and four Os, nine marks in all. A game won earlier has fewer.

What counts as a win?

Three of your own marks in a straight line: a row, a column or a diagonal. Three marks scattered around the grid do not count.

Can you win if your opponent never makes a mistake?

No. In classic 3 by 3 perfect play from both sides is a draw.

How do you play tic tac toe with two players?

Take turns on the same screen or play over the network. The rules are the same, and the mode is called "Two players" in our game.

Play

Ultimate tic-tac-toe: your move decides where the opponent plays
Tic-tac-toeOnline with a friend

Tic-Tac-Toe: Nine Games

Classic tic-tac-toe and eight of its relatives: vanishing marks, five in a row, ultimate, misère, wild, Order and Chaos, Notakto and Cube Slide. Three computer levels, a 25-round tournament and online play with a friend.

Read next

More on the topic