Tic Tac Toe
Play classic Tic Tac Toe against an unbeatable computer, a casual CPU, or a friend on one screen.
Click a square or press 1–9 (numpad layout) · Space for a new game
Game options
Unbeatable · X starts · sound on
How to Play Tic Tac Toe in 3 Steps
Choose an opponent
Select vs Computer for Easy or Unbeatable AI, or switch to 2 Players to share one device.
Place your mark
Click an empty square or press keys 1 to 9 in numpad order. X moves first unless you change turn order in Game options.
Line up three to win
Connect three matching marks horizontally, vertically, or diagonally to win. Your browser tracks wins, draws, and losses locally.
Controls
| Action | Keyboard | Touch / mouse |
|---|---|---|
| Place a mark | 1 to 9 (numpad: 7 8 9 top row) | Tap or click a square |
| Start new game | Space | Tap New game |
| Reset tally and settings | Esc | Tap Reset |
Tic Tac Toe: Frequently Asked Questions
Can I beat the computer?
Yes on Easy mode, which picks random open squares. Unbeatable mode uses minimax search to force at least a draw every game.
Why do keys 1 to 9 use numpad order?
Keys 7 8 9 map to the top row and 1 2 3 map to the bottom row to match a standard numeric keypad.
Who moves first?
X starts by default. Open Game options to let O start first or alternate first turn after each round.
Where is the score tally saved?
Your browser stores wins, draws, and losses locally in localStorage under toolity_tictactoe. Click Reset to clear your tally.
Does Tic Tac Toe work on a phone?
Yes. The 3x3 grid scales cleanly to mobile screens for single-player games or two-player pass-and-play.
Explore All Games
Play fast browser games immediately with zero downloads and no account.