Skip to content
InstaPlay

Tic-Tac-Toe vs AI

InstaPlay Originals · Board games

Report this game

Tell us what's wrong — moderators will review the game.

Reason

Play Tic-Tac-Toe vs AI free online: an easy bot or an unbeatable one, a running score and quick rounds. No download, on PC and mobile.

Category
Board games
Released
November 14, 2026
Updated
November 15, 2026
Platforms
Desktop, Phones and tablets
Orientation
Any
Languages
RU, EN, ES, PT, FR, DE, IT, PL, NL, TR, ID, VI, TH, JA, KO, ZH
Age
0+
Engine
HTML5

Leaderboard

Loading the leaderboard…

About the game

Tic-Tac-Toe vs AI is the childhood game on a 3×3 grid, with the computer as your opponent. Play it free right in your browser with no download or sign-up, on a computer or a phone. A round takes less than a minute, which makes it perfect for short breaks.

You play X and the computer plays O. Take turns and try to be the first to line up three of your marks in a row, across, down or diagonally. If the board fills up and nobody has a line, the round is a draw.

There are two kinds of opponent. The easy AI picks random moves, which makes it a friendly way to learn the rules and enjoy some wins, and a nice choice for kids. The hard AI calculates every possible continuation to the end and never makes a mistake: it cannot be beaten, but you can try to hold it to a draw every single time. You can choose who moves first, and the scoreboard tracks your wins, draws and the computer's wins and is kept between visits.

How to play

You place X, the computer places O, and you take turns. Tap an empty cell to put your X there. The first to get three marks in a row across, down or diagonally wins. If no empty cells are left and nobody has a row, it is a draw. Use the buttons under the board to change the difficulty and decide who moves first.

Controls

On desktop

Click a cell to place your X. Keys 1 to 9 match the cells from left to right, top to bottom. Arrow keys move the selection, and Enter or Space makes a move or starts the next round.

On mobile

Tap an empty cell to make your move. The buttons under the board switch difficulty and turn order, and tapping the screen after a round starts the next one.

Tips

When you move first, take a corner or the center, the strongest opening cells. Always check whether your opponent is about to complete a row and block it. Against the easy AI, look for a fork: a move that creates two threats at once.

FAQ

Can the hard AI be beaten?

No, the hard AI uses a full minimax search and plays perfectly. The best you can get against it is a draw.

Who moves first?

You do by default, but the turn-order button under the board lets the computer go first. The setting is remembered.

Is the score saved?

Yes, your wins, draws and the computer's wins are saved on the portal. Your best win streak goes to the leaderboard: a draw does not break the streak, while a loss or an abandoned round resets it.

Can I take back a move?

Once per round after a loss you can watch an ad: your last move and the AI's winning move are taken back, the round continues on your turn and your win streak is kept.

Is it good for kids?

Yes, the easy mode is a great way to learn the rules, and every round is short and easy to follow.