Mini Games

Play Tic Tac Toe vs AI

Classic X and O on a 3×3 grid against a smart AI. You take the first move, the AI answers — and the whole game runs in your browser.

Tic Tac ToeBeta

Your turn — you play X

You are X and always move first.

How it works

1

You open with X

By classic rules X goes first, so you pick any empty square to place your X. Tap a cell and the mark lands instantly.

2

The AI replies as O

After a short "thinking" beat the AI answers. It searches the whole game tree for the strongest reply — it attacks and blocks in the same move whenever it can.

3

Three in a row wins

First to line up three marks on a row, column, or diagonal wins. If the grid fills with no line, the round is an honest draw.

Frequently asked questions

Is the Tic Tac Toe AI unfair, or does it always win?

The AI plays perfect moves, but it is not unfair: with perfect play from both sides, Tic Tac Toe is always a draw. That is why the game often ends level — it means the AI can neither be beaten nor cheat its way to a win.

Why does the AI play as O?

By classic rules, X always moves first. You get X and the opening move, and the AI answers as O — same as a paper-and-pencil game.

Can the AI be beaten at all?

Not through a perfect play line — the AI never makes an illegal move and always blocks your threats. Casual players can still catch it by creating two threats at once, so games stay fun.

Does playing save or send any of my data?

No. The board state only lives in your browser for the current round. There is no account and no backend — nothing about your clicks or games is sent anywhere.

What happens if no one wins?

When the 3×3 grid fills up with no three-in-a-row, the round is a draw. That is the mathematically honest result of two strong players, so just start a new game.