Game guide

Tic-Tac-Toe: rules, controls and strategy

WebArcade Tic-Tac-Toe is a 3 by 3 alignment game. X moves first and wins by occupying a row, column, or diagonal. Local mode alternates two people on one device. Casual AI deliberately mixes weaker moves with strategy; Expert AI uses minimax and cannot be beaten with correct evaluation.

Rules

  • X always takes the first turn.
  • Choose one empty square per turn.
  • Three matching marks in a row, column, or diagonal win immediately.
  • A full board without a line is a draw.
  • Occupied cells cannot be selected again.

Keyboard, pointer and touch controls

Choose Casual AI, Expert AI, or 2 Player Local. Activate an empty grid cell by click, tap, or keyboard focus. Use Play Again for the same mode or Main Menu to change opponents.

Scoring and saving

This game records the outcome rather than a numeric score. Against either AI, X is treated as the signed-in player for win/loss reporting. Local mode still records from the current user's perspective, so shared-device results are client-authoritative.

Scores from browser games are bounded and synchronized by the backend, but local game outcomes are client-authoritative unless this guide explicitly identifies server-owned match evidence.

Beginner guidance

  • Take the center when it is available.
  • Block an opponent with two marks in a line immediately.
  • Prefer corners over edges when the center is occupied.
  • Before every move, check both your winning line and the opponent's threat.

Advanced strategy

  • Create a fork: two winning threats that cannot both be blocked.
  • Prevent opposite-corner traps by choosing an edge when required.
  • Against Expert AI, play for a draw rather than forcing an impossible win.
  • Use move order to deny the opponent a fork before building your own.

Common mistakes

  • Missing a one-move opponent win.
  • Opening on an edge without a follow-up plan.
  • Assuming Casual AI will always choose randomly.
  • Selecting cells while the AI timer is processing.

Accessibility notes

The board exposes grid semantics, each cell is a real button with an accessible name, turn status is textual, and the winning line is supplemented by winner text rather than color alone.

Troubleshooting

  • If a cell does not respond, it may be occupied or the AI may be taking its turn.
  • Choose Main Menu if you need a different difficulty.
  • If the win line looks misplaced after resizing, reopen the board from the menu.
  • A sync warning does not affect the visible local result.

Tic-Tac-Toe FAQ

Can Expert AI be beaten?

With correct minimax evaluation, it should force at least a draw.

Does Casual AI make mistakes?

Yes. It intentionally selects a less strategic move some of the time.

Who is the profile result assigned to?

The currently signed-in browser user.