P
PLAYROOM
TIC-TAC-TOE

Tic-Tac-Toe • vs AI

Classic 3×3. Choose X/O, set difficulty, outsmart the AI. Easy is random, Medium mixes, Hard is unbeatable minimax. Win streak saved as personal best.

Wins
0
Draws
0
Losses
0
Best Streak
0
Your turn – X
HARD streak 0
Touch: tap cell • Keyboard: 1-9 (1 = top-left) or numpad 7-8-9 top, arrows + Enter

Game Setup

Difficulty
Unbeatable minimax. Good luck.
Play as
X always starts. If you pick O, AI moves first.

Score • Details

Current streak0 win
Personal best (key: playroom-best-tictactoe)0
Total games0

How to Play

Get 3 in a row — horizontal, vertical, or diagonal.

  • You = X. Tap any empty cell.
  • AI responds instantly. Difficulty changes its smarts.
  • Easy: random moves.
  • Medium: 50% optimal, 50% random.
  • Hard: perfect minimax — cannot lose.
  • Win streak is your best. Beat it!

Controls

Tap or Click a cell
1–9 to play cell 1=↖ top-left
Num 7 8 9 top row • 1 2 3 bottom row
← ↑ → ↓ move focus, Enter place
N new game • R reset stats

About Tic-Tac-Toe

📁 Strategy 🎯 Difficulty: Easy ⏱️ Duration: 1–2 min ⚡ Instant Play (No Download) 📱 Desktop & Mobile

📖 How to Play & Objective

The immortal 3x3 strategy game. Play as X against the computer AI. Be the first to align three of your marks horizontally, vertically, or diagonally.

  • Players take alternating turns placing their mark in an empty cell.
  • First player to connect three identical marks in a straight row wins.
  • If all 9 cells are filled with no three-in-a-row, the match is declared a draw.

🎮 Controls Guide

💻 Desktop:
Number keys 1–9 or Arrow keys + Enter to place marker
📱 Mobile:
Tap any unoccupied square on the grid to place your mark

💡 Tips & Strategy

  • Claim the center square on your first move whenever possible.
  • Take corner squares to set up double-threat forks that force a win.
  • Watch your opponent’s two-in-a-row formations and block them immediately.