Tic-Tac-Toe

Three in a row. Beat the minimax AI.

Play live· 1v1 live

Top scores

  1. #1Roy Cohen3,000

About Tic-Tac-Toe

Tic-tac-toe (noughts and crosses, three-in-a-row) is ancient — Roman variations have been found scratched into Forum pavement stones dating to 1 BC. With perfect play it's a forced draw, which is what the AI here does: it plays minimax, evaluating every possible move tree to optimal depth. You can't beat it. You can only force it into a draw.

How to play

Click a cell
Place your mark (X)

Tips

  • You play X (first move). Open in a corner — it gives you the most winning lines.
  • Against minimax, the only path to a draw is to never miss a fork or a block. The AI will punish a single mistake.
  • Watch the center. After your corner-open, the AI will almost always grab center; your second move sets up the only forks that survive.

More like this

Browse all →
1v1 live

Rock Paper Scissors

classic · casual
Race

2048

puzzle · numbers50 plays this week
Race

Breakout

arcade · classic10 plays this week
1v1 live

Connect Four

puzzle · classic5 plays this week
Race

Minesweeper

puzzle · classic3 plays this week
Challenge

Hangman

word · classic2 plays this week
Race

Lights Out

puzzle · classic1 plays this week
1v1 live

Nim

puzzle · classic1 plays this week