Games

Tic Tac Toe

Play classic Tic Tac Toe against an unbeatable computer, a casual CPU, or a friend on one screen.

X to move
You (X) 0·0·0 Computer (O)

Click a square or press 1–9 (numpad layout) · Space for a new game

Game options Unbeatable · X starts · sound on
How It Works

How to Play Tic Tac Toe in 3 Steps

1

Choose an opponent

Select vs Computer for Easy or Unbeatable AI, or switch to 2 Players to share one device.

2

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.

3

Line up three to win

Connect three matching marks horizontally, vertically, or diagonally to win. Your browser tracks wins, draws, and losses locally.

Reference

Controls

ActionKeyboardTouch / mouse
Place a mark1 to 9 (numpad: 7 8 9 top row)Tap or click a square
Start new gameSpaceTap New game
Reset tally and settingsEscTap Reset
FAQ

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.

Toolity Games

Explore All Games

Play fast browser games immediately with zero downloads and no account.

Copied to clipboard