Board & Cards1-10 min
Tic-Tac-Toe
Three in a row, and a board made of nine boards
How to play
- 1In settings pick the board (Classic 3x3 or Ultimate 9x9), your opponent, the level and your mark, then start. X always moves first.
- 2On the classic board tap an empty square to place your mark. Fill a row, a column or a diagonal first and you win; fill all nine squares with no line and it is a draw.
- 3On the Ultimate board you may only play inside the small board outlined in orange. The square you choose - bottom-left, say - is the small board your opponent must play in next.
- 4If the board you are sent to is already finished, won or full, you may play anywhere that is still open.
- 5Win a small board and a large mark is drawn across it. Line up three of those and you win; if every small board finishes with no line, the game is drawn.
- 6Misplaced a mark? Undo, once per game, takes back your last move together with the computer's reply.
- 7Lose to the computer and the result screen names the move it turned on. On the classic board it solves the position and tells you which move would have held the draw; on the Ultimate board it names the move that handed over a small board.
Controls
- Click / tap
- Place your mark on an empty square
- Arrow keys
- Move between squares
- Enter / Space
- Play on the selected square
- Undo button / Z, Backspace
- Take back your last move, once per game
Tips
- Moving first on the classic board, take the centre or a corner. If your opponent took the centre, answer in a corner and the draw is yours to keep.
- A fork - one move that threatens two lines at once - wins on the classic board, because only one of them can be blocked. The Hard computer never allows one, so a draw against Hard is the best result there is.
- On the Ultimate board, where your move sends your opponent matters as much as what it does for you. Never send them into a small board they are about to win.
- Sending your opponent to a finished board lets them play anywhere they like. That is a large gift, so only do it when you have no better move.
- The centre small board and the centre square of each small board sit on the most lines, which makes them valuable. But if every move sends the play to the centre, your opponent keeps getting the centre board too - watch the balance.
What is Tic-Tac-Toe?
Tic-tac-toe is nine squares, X and O in turn, and the first player to fill a row, a column or a diagonal wins. Paper and a pencil are all it ever needed, which is why nearly everyone has played it - and why nearly everyone also knows that two players who make no mistakes always draw.
That is why the big board is here too. The Ultimate board is nine 3x3 boards arranged into a 3x3 grid of their own. Win a small board and you claim its square on the big one; line up three claimed squares and you win the game.
The rule that makes the big board a different game: the square you play inside a small board decides which small board your opponent must play in next. Play the top-right square and your opponent has to play in the top-right board. So you are never only looking for your own three in a row, you are also choosing where to send the other player, and that turns a solved game into one with real decisions in it.
On the classic board the Hard computer solves all 3x3 positions outright and therefore never loses - a hundred automatic games against Easy and Normal came out 39 wins, 61 draws and no losses, which is what a solved game looks like from the inside. The Ultimate computer cannot be solved, so it plays out whole games at random from each candidate move and takes the one that wins most often: 60 playouts on Easy, 700 on Normal and 5,000 on Hard.
Frequently asked questions
Can I beat the computer on the classic board?
Easy and Normal make mistakes, so yes. Hard solves the whole 3x3 game and cannot be beaten - a hundred automatic games against Easy and Normal returned 39 wins, 61 draws and no losses. Since perfect play on both sides draws, a draw against Hard means you played it correctly.
How does the Ultimate computer choose its moves?
It plays each candidate move out to the end many times over and keeps the one that wins most often, which is called Monte Carlo tree search. Easy runs 60 of those playouts, Normal 700 and Hard 5,000, and Easy also drops in the occasional move chosen at random.
What happens on the Ultimate board when the board I am sent to is full?
If that small board has already been won or all nine of its squares are taken, the next player may play in any small board that is not yet finished. The boards you are allowed to use are outlined in orange.
How many undos do I get?
One per game. It returns the position to before your last move and removes the computer's reply as well. After that you cannot undo again in that game, and the result is recorded as normal.
How is the move it turned on chosen?
The classic board can be solved completely, so it finds the first move that went from a drawable position to a losing one and tells you which move would have held the draw. The Ultimate board cannot be solved, so instead it names the move that handed your opponent a small board.
Where is my record kept?
Wins, losses and your longest streak are stored per board and per level in this browser only. Quitting a game against the computer part-way counts as a resignation loss and ends the streak, while a draw leaves the streak as it is.