Browser Games›Tic-Tac-Toe
Play Tic-Tac-Toe, also known as noughts and crosses, in your browser: the classic 3 by 3 board and Ultimate Tic-Tac-Toe, where nine small boards make one big game. Play the computer on Easy, Medium or Hard, or share the screen with a friend.
How to play Tic-Tac-Toe
- The board has nine squares in three rows and three columns. One side draws X and the other draws O.
- The two sides take turns to mark one empty square.
- Three of your marks in a line win. There are eight lines: three rows, three columns and two diagonals.
- If all nine squares are full and nobody has a line, the game is a draw.
How to play Ultimate Tic-Tac-Toe
- Nine small boards form one big 3 by 3 board, 81 squares in all. The first move can go anywhere.
- The square you pick decides where the other side plays next. Mark the top right square of a small board, and your opponent must play in the top right small board.
- Three in a line win a small board. It gets a big X or O and is closed: nobody plays in it again.
- A small board that fills up without a line is closed too and counts for nobody. If you are sent to a closed board, play in any board that is still open.
- Win three small boards in a line on the big board to win the game. If every board is closed without such a line, the game is a draw.
How to use this board
- Select an empty square to draw your mark. On a phone, tap it.
- Classic and Ultimate at the top change the game. 2 players lets you play a friend on the same device.
- In Ultimate the small board of the next move glows: blue when X is to move, red when O is. When any open board is allowed, they all glow lightly. The last mark sits on a yellow highlight.
- Undo takes back your last mark and the computer’s reply. Hint rings a strong square in blue. With a keyboard, move with the arrow keys or Tab and mark with Enter or Space.
The three levels
- Easy: often misses a block and plays many squares at random. In Ultimate it never checks where its move sends you.
- Medium: always takes a win and always blocks, but about half of its other moves are random, so a fork beats it. In Ultimate it looks three moves ahead.
- Hard: in the classic game every position is solved and it never loses. In Ultimate it thinks for about 0.4 seconds and usually sees about eight moves ahead.
Tic-Tac-Toe strategy: how to win and how not to lose
- Open in a corner. Only the centre holds the draw. Every other reply loses against correct play.
- Build a fork, a mark that makes two lines of two at once. Your opponent can block only one. Example: you open in a corner and they answer on an edge. Take the centre, they must block the far corner, and your next mark makes two lines of two.
- If your opponent opens in a corner, take the centre. If they then take the opposite corner, answer on an edge. A corner lets them fork you.
- If your opponent opens in the centre, take a corner. An edge loses by force.
Ultimate Tic-Tac-Toe strategy
- Look first at where your move sends the opponent. A good square is a bad move if it hands them a board they can win.
- Never send them to a small board where they have two in a line and the third square is empty.
- Avoid sending them to a closed board. A free choice lets them take the strongest square anywhere.
- The centre board belongs to four lines of the big board, a corner board to three and an edge board to two. Fight hardest for the centre and the corners.
Rules used here
You always play X and the computer plays O. Whoever moves first changes with every new game, so sometimes O begins. In Ultimate a small board that ends without a line counts for nobody, and when all nine boards are closed without three in a line the game is a draw: won boards are not counted to break the tie. Records for each game and level and the game in progress are saved in this browser.
Frequently asked questions
Can you beat the Hard level?
Not in the classic game: Hard knows the best answer to every position, so a draw is the best you can get. In Ultimate it is strong, but it can be beaten.
What is the best first move in Tic-Tac-Toe?
A corner. Only the centre keeps the draw against it, so the other side has seven ways to go wrong.
Who goes first?
The start alternates from game to game. You are always X.
What happens in Ultimate if I am sent to a board that is already won or full?
You may play in any small board that is still open. All open boards glow to show it.
Can I play with a friend, and is it free?
Yes. Choose 2 players to share one device. There is no sign-up, and the game is saved in this browser after every move.
More games to play
DominoesClassic double-six dominoes against the computer.
BackgammonClassic backgammon against the computer or a friend.
Sea BattleHide your fleet and sink the computer's ships.
GomokuLine up five stones before the computer does.
Booked SolidDrag the week's meetings into one calendar. Everyone has to be free.
CellwiseFill the sheet so every SUM, MAX and COUNTIF is true.
Handy free tools
- Keyboard TesterPress every key and see which ones work, how many register at once, and which ones double-press.
- Mic TestSee your microphone level live, check for clipping and background noise, and record 5 seconds to hear how you sound.
- Typing TestMeasure your typing speed in words per minute and your accuracy in 15 to 120 seconds, and see which characters slow you down.
- ALLAll free toolsSee all 36 tools in one list.