Simulatos

Tic-Tac-Toe

Pass and play on one screen, or take on a computer that will not lose on hard. Three levels, so there is still a game to win.

0X wins
0O wins
0Draws

X to move.

How to play

Three in a row wins: a full row, a full column or a full diagonal. X moves first, then O, and the board holds nine squares. If all nine fill with no line, the round is a draw. Press new round for a fresh board; the score at the top counts X wins, O wins and draws until you reset it.

Against the computer, choose easy, medium or hard. Easy plays mostly at random, medium is careless roughly one move in three, and hard searches every continuation from the current position — it wins when a win exists and draws otherwise. That is not a difficulty setting you can outplay: tic-tac-toe is a solved game, and perfect play from both sides always ends in a draw.

How to win against a person

Take the centre if you can, then a corner. The centre is part of four winning lines and a corner is part of three; an edge square is part of only two, which is why an opening on the edge is the weakest move on the board. If you are second and the centre is taken, take a corner — a corner reply is the only opening that cannot lose to perfect play.

Look for forks. A fork is one move that makes two threats at once: your opponent can block one and you complete the other. The classic fork needs a corner and the centre, with your opponent holding the opposite corner. Setting up a fork is worth more than blocking a single threat, because blocking is reactive and a fork ends the game.

Against a beginner, the fastest win is not the obvious one. If they take an edge, take the centre and two opposite corners: that shape cannot be defended even though none of your moves looks like a threat yet.

Playing together

On pass and play the board alternates between X and O on the same screen, with the current turn shown underneath. It is a good five-minute game for two people and a genuinely useful one for children learning to look ahead, because the whole board is visible and the consequences arrive in three moves rather than thirty.