Tic-Tac-Toe
Take turns placing X and O to complete a horizontal, vertical, or diagonal line.
Win condition
Last 50 games
0wins
0draws
0losses
Game guide
X goes first. Make a line of at least 3 marks on 3×3, 4 on 5×5, or 5 on 7×7. A full board without a winner is a draw. Take turns on one device or play the computer. Use arrow keys to move and Enter or Space to place a mark.
Board sizes and winning lines
- 3×3, 5×5 and 7×7
- Make a line of at least three marks on 3×3, four on 5×5 or five on 7×7. Horizontal, vertical and diagonal lines count.
- Turns and draws
- X goes first. Take turns placing X or O in an empty square. If the board fills without a winning line, the game is a draw.
Computer and local two-player modes
- Computer
- You play X and the computer plays O. Choose Easy or Hard. Recent computer match results are saved in your browser.
- Local two-player
- Two people take turns on one screen. The turn indicator shows whose move it is. Undo reverses the last move.
Attacking and defending
- Watch for a winning move
- Look for a square where your opponent could complete a line on the next turn. If you have a winning move now, take it first.
- Threaten two lines
- A move that creates two different winning squares leaves your opponent able to block only one. Use arrows to select a square and Enter or Space to place a mark.