Tic Tac Toe 6x6: get 4 in a row, free vs the AI or a friend

Tic Tac Toe 6x6 is tic tac toe on a 6×6 board, 36 squares, where four in a row wins. On this page you can play it in your browser, free and with no account, against the AI on three levels or with a friend on the same device.

More games

On this page: Rules · Easy, Medium and Hard · Buttons and scores · Strategy · FAQ

6x6 tic tac toe rules: how to play

6x6 tic tac toe is a game for two players, X and O, on a board of 6 rows and 6 columns. You win by placing four of your marks in a row, across, down or diagonally. If all 36 squares fill up with no four in a row, the game is a draw.

  1. Players take turns placing one mark on any empty square.
  2. Four marks in a straight line win at once. A line of five or six also wins.
  3. Marks stay where they are; there is no moving or removing them.
  4. A full board with no winner is a draw.
6x6 tic tac toe at a glance, as played on this page
Board6 rows × 6 columns, 36 squares
To win4 or more of your marks in a row
Lines of four54; each central square is on 11 of them, each corner on 3
OpponentThe AI (Easy, Medium, Hard) or a second player on the same device
First moveX in the first game, then the side that opens switches every new game
6×6 board with X marks on the diagonal from row 3, column 3 to row 5, column 5, two O marks in row 3, and the text O's turn
X has three in a diagonal and both ends are empty. O can block only one end, so X completes four on the other.

This page always plays four in a row, and the How to play button in the game says "Get 4 in a row on the 6×6 board".

6×6 board where X won with four marks on a diagonal, a line through them, the text X wins! and the score X 1, Draws 0, O 0
X wins with four on the diagonal in a 2 Players game.

Easy, Medium or Hard: how the AI plays

With vs AI picked, you play the computer. You are X unless you pick O next to Play as; that switch waits for the next game. With 2 Players picked, two people share one phone, tablet or computer. There is no network play, so you can't play someone on another device.

X opens the first game. After that, the first move changes sides with every new game, so in some games the AI opens as O.

LevelHow the AI picks a squareIn our test games
EasyA random empty square next to a mark already on the board, or a centre square on an empty board.Lost 20 of 20 against Hard.
MediumTakes a winning square, else blocks yours, else picks one of its 3 best-scoring squares at random.Won 199 of 200 against Easy; lost 20 of 20 against Hard.
HardTakes a win or blocks, then searches ahead for up to 0.7 seconds per move.Won 20 of 20 against Easy and 20 of 20 against Medium.

Easy suits learning the rules. Hard is the strongest choice on this page. In Node.js test runs, a Hard move took a median of 3 to 4 ms and at most 431 ms. In the browser we saw 399, 88, 1 and 0 ms on its four moves in one game. Hard has no guarantee of perfect play, and we have not measured it against expert human players.

6×6 board where O won with four marks on a diagonal from the top right toward the bottom left, a line through them, AI wins, and the score You 0, Draws 0, AI 1
A game against Hard. We built three down the third column, and the AI finished its own diagonal first.

Undo, New game and scores

  • Undo takes back your last move. Against the AI it also removes the AI's reply. In 2 Players it takes back one move at a time. Once a game is over, Undo is off.
  • New game clears the board and starts the next game right away.
  • The Board button opens the picker below, so you can switch to another size, and the speaker button turns sound on or off.
  • On a keyboard, press Tab to reach the board, move with the arrow keys across the 36 squares, and press Enter or Space to play a square. Screen readers hear each square's row and column.
Board picker open over a finished 6×6 game, with Classic, Infinity, 4×4, 5×5, 6×6, 7×7 and 100×100 tiles and 6×6 selected
The Board picker. The 6×6 tile is selected.

The score line shows wins for each side and the draws. It is kept in this browser on this device, with one score for each level and one for 2 Players on the 6×6 board, and it is still there the next time you open the page. There is no account. If your browser blocks site storage, the score is not kept.

The whole 6×6 board fit on a 390×844 phone screen at about 59 px per square when we loaded the game in emulation.

6x6 tic tac toe strategy

The centre matters most. A 6×6 board has 54 lines of four, and each of the four central squares sits on 11 of them, while a corner sits on 3. Mark the middle squares early.

  • Build an open three: three in a row with an empty square at both ends. Your opponent can block only one end, and you play the other to make four, unless they win first. An end square off the board doesn't count, so a three against the edge can be blocked.
  • Stop your opponent's two in a row before it becomes an open three.
  • Look at diagonals as well as rows and columns; the winning lines in the shots above are diagonal.

Going first helps. In 100,000 games of random moves on this page's rules code, the first mover won 53.9% and the other side 45.5%, and 0.6% were draws. A game lasted 23.4 moves on average; the shortest win in the sample took 7 moves, and a full board took 36. When Hard played Hard, the first mover won all 20 games, each time in the same 11 moves.

For the theory, Jos Uiterwijk's 2019 paper on 4-in-a-row solved these boards by computer search: four in a row is a first-player win on 5×6 and every larger board, 6×6 included, and a draw on 5×5. Wikipedia's article on m,n,k-games (games on an m×n board where k in a row wins) lists the same results. Try 5×5, 7×7 or the classic 3×3 game.

In short: four in a row wins on 36 squares, the central squares sit on the most lines, and the side that moves first wins more often. The game at the top of this page starts on Medium, so switch to Easy if you want to learn the rules first.

Tic Tac Toe 6x6 FAQ

How many in a row do you need to win tic tac toe 6x6?

Four. On this page, four of your marks in a row, across, down or diagonally, win the game. Five or six in a row also win, because the line only has to be at least four long.

Who wins tic tac toe 6x6 with perfect play?

The first player. Jos Uiterwijk's 2019 paper "Solving Strong and Weak 4-in-a-Row" used a computer search to show that four in a row is a first-player win on a 5×6 board and on every larger one, and it also solved every board from 5×6 up to 10×10 directly as a win, 6×6 included. We did not repeat that search. On this page, Hard against Hard gave the first mover all 20 games.

Can tic tac toe 6x6 end in a draw?

Yes. If all 36 squares fill up and nobody has four in a row, the game is a draw. In 100,000 games of random moves on this page's rules code, 0.6% were draws.

Does going first help on a 6x6 board?

Yes. When both sides moved at random, the side that moved first won 53.9% of 100,000 games and the other side won 45.5%. When Hard played Hard, the first mover won all 20 games, which were the same 11-move game each time.

Can I play tic tac toe 6x6 against the computer?

Yes. Pick vs AI and choose Easy, Medium or Hard. Hard won all 20 test games against Easy and all 20 against Medium.

Can two people play tic tac toe 6x6 on one device?

Yes. Pick 2 Players and pass the phone, tablet or computer between turns. There is no way to play someone on another device from this page.

Is 6x6 harder than 3x3 tic tac toe?

It needs more thought: the board has 36 squares and you need four marks in a row. 3×3 is a draw with perfect play, according to Wikipedia's article on m,n,k-games, while Uiterwijk's 2019 computer search shows four in a row on 6×6 is a first-player win. When Hard played Hard on this page, the first mover won all 20 games, all the same 11 moves.

Does the game save my score?

Yes, in this browser on this device. There is one score for each level and one for 2 Players on the 6×6 board. If your browser blocks site storage, nothing is saved.

What is an open three in 6x6 tic tac toe?

Three of your marks in a row with an empty square at both ends, both inside the board. The other side can block one end, and you play the other end to make four. In our check of all 32 such lines on the 6×6 board, that worked after either block every time, 64 of 64. It fails only if your opponent wins first or the end square is off the board.

Last checked on : we played one game against Hard and one complete 2 Players game in Chrome at 1280×800, and loaded the game at 390×844 (both in emulation). The test games (20 each of Hard against Hard, Medium and Easy, 200 of Medium against Easy) and the 100,000 random games ran on this page's game code in Node.js 24 on an Intel Xeon E5-2696 v3.

Sources, read on November 16, 2026: Jos W.H.M. Uiterwijk, "Solving Strong and Weak 4-in-a-Row", IEEE Conference on Games 2019 (5×5 is a draw; every board from 5×6 up to 10×10, 6×6 included, is a first-player win); Wikipedia, "m,n,k-game" (3×3 and 5×5 are draws).

Rate this game

Your rating