6x6 Tic Tac Toe asks for five in a row on a 36-square board. That's one short of the board's width, so every row has room for just two fives, and the middle squares decide most games. Play an Easy, Medium, or Hard computer, or pass the device to a friend.
6x6 Tic Tac Toe rules: five in a row
X goes first, and each turn adds one mark to an empty square; nothing is ever moved or removed. Five of your own in a line, across, down, or diagonally, takes the round, and the game strikes a line through them.
A game can run to all 36 squares, but it often ends sooner. Once each of the 32 lines holds at least one X and one O, no five is possible, and the round ends as a draw on the spot, even with empty squares left.
Why 6x6 Tic Tac Toe uses five in a row
The length of the line keeps the game fair. With four in a row, the first player can force a win on a board just six squares wide and five tall, so a 6×6 game of four in a row would be decided before it started. Computer searches have proved five in a row a draw on boards up to 8×8, which covers 6×6 with room to spare.
So a perfect defender can always hold a 6×6 game. In practice, players miss open threes and forcing moves all the time, and those mistakes decide the round.
32 lines and the middle squares
A 6×6 board holds 32 possible lines of five: twelve across, twelve down, and eight diagonal. Each row and column contains two of them, one from the first square to the fifth and one from the second to the sixth. Both share the middle four squares, so a mark there counts toward both, and a single enemy mark there shuts the whole row.
The four center squares sit on seven lines each, more than anywhere else. Next come the four squares one step in from the corners, with six each, because they lie on a long diagonal as well as a row and a column. A corner sits on three, and so do the two squares halfway along each edge. Of the eight diagonal lines, four run along diagonals only five squares long, so one mark anywhere on them closes them for good.
How the computer searches near the marks
Choose Computer under Opponent, then a level. On 36 squares every level plays near the marks already down rather than anywhere at all:
- Easy picks a random empty square touching a mark, diagonals included, or a center square on an empty board. It never plans, so its lines grow by accident.
- Medium takes an instant win and blocks any line of five that's one mark short, even one with a gap. Otherwise a coin flip decides between an Easy move and the nearby square worth most right now, for attack and defense, with no look-ahead.
- Hard searches ahead one move deeper at a time for about 0.3 seconds, over squares within two steps of a mark. After one center mark that window already holds 24 of the 35 empty squares, so it sees most of the board. Below its first move it keeps the 12 most promising replies, and when you're one mark from five it only weighs the blocks.
Moving first, Hard opens on one of the four center squares. Pick O under You play as to face that opening, or X to take the center yourself.
Playing a friend: who spots the open three
Set Opponent to 2 players and the board keeps a Player X and Player O count for 6×6 rounds alone. Between two people, a game here usually turns on the first open three that goes unanswered, so both players should scan the full rows and long diagonals before every move. Only finished rounds reach the count. The 2 player Tic Tac Toe page explains turns, Undo, and ways to share the first move.
Open threes, open fours, and forcing moves
Most 6×6 games turn on three ideas. An open four is four in a row with an empty square at both ends. It threatens five in two places, and your opponent can block only one, so it wins. On 6×6 it only fits on the middle four squares of a full row, a full column, or one of the two long diagonals.
An open three is three in a row with enough room to become an open four. Leave it alone and it wins, so block it straight away, usually right next to the three. A forcing move makes a line one mark from five. Your opponent has to block it, which lets you choose where they play while you build a second threat.
The strategy diagram above shows an open three in action. X holds the second, third, and fourth squares of the third row. If O plays anywhere else, X takes the fifth square and has an open four. Only the three highlighted squares stop it.
Where to play and where to block
- Open on one of the four center squares. Each sits on seven lines.
- Build along full rows, full columns, and the long diagonals, where an open four can fit.
- Block rows and columns on their middle four squares, which shuts both fives at once.
- Answer every open three before it grows into an open four.
- Before each move, check for a four you must block or a five you can finish.
- Practice on Medium, then take on Hard with the first move as X.
The rules for every board cover the basics if you're new to the bigger boards.
Getting around 36 squares by touch and keyboard
Each square is a sixth of the board's width, still roomy for a thumb. If a tap lands on the wrong one, Undo against the computer takes back your mark and its reply together. New round clears the grid; the count stays.
- Keyboard: after Tab, each arrow press moves one square, and focus stops at the edges. Crossing from one corner to the opposite one takes ten presses, so Home and End, which jump to the start or end of the row, save a few. Enter or Space places your mark.
- Screen readers: squares read from Row 1, column 1 to Row 6, column 6, each with its mark, and the status line speaks every move and result.
6x6 Tic Tac Toe and the k-in-a-row puzzle
Mathematicians file games like this under m,n,k-games, where k marks in a row win on an m-by-n board. Classic Tic Tac Toe is the 3,3,3 game, this board is the 6,6,5 game, and free-style Gomoku is 15,15,5. For each one, the question is what happens with perfect play.
Some answers took serious computing. In 2018, Wei-Yuan Hsu, Chu-Ling Ko, Chu-Hsuan Hsueh, and I-Chen Wu used computer search to prove five in a row a draw on 7×7 and 8×8, which settles every smaller board as well. On 15×15, Victor Allis and two colleagues showed in 1993 that the first player wins.
What the game saves, and where
Once the page has loaded over your connection, the computer's 6×6 search runs in your browser, and your moves and results aren't sent to a server. This browser's local storage holds your last settings and four 6×6 counts, one per computer level and one for two players; the privacy policy has the details. A game you leave midway is gone, and Reset scores wipes only the count you're looking at. For more room, try 9x9 Tic Tac Toe, or head back to the 3×3 Tic Tac Toe grid.