Three genuinely different AI levels
Easy plays at random, Medium blocks your threats and takes its own wins, and Hard searches the whole game tree. They are three separate algorithms, not one opponent with a label changed.
Offline strategy · Android & browser
A free tic tac toe game with a computer opponent that actually thinks. Play it in this browser right now, or install the Android app and keep playing with no connection at all — two players on one device, three difficulty levels, and no ads anywhere.
The browser game
The browser version runs the exact rules and the exact opponent code as the Android app — not a simplified copy. Pick your difficulty, or switch to two players and share the screen with someone next to you.
No download, no sign-up, works on phones and desktops.
Features
Everything below is in the shipping Android app. There are no achievements, no lifetime statistics and no online play — the game does a small number of things and does them properly.
Easy plays at random, Medium blocks your threats and takes its own wins, and Hard searches the whole game tree. They are three separate algorithms, not one opponent with a label changed.
Pass the phone back and forth. Turns alternate between X and O automatically, and the status line always shows whose move it is.
A scoreboard above the grid counts X wins, O wins and draws as you play. Restart a round to keep the running score, or reset it to zero whenever you want a clean slate.
A built-in opponent plays every round with you — no second player and no internet connection needed. You are always X and move first.
The three winning squares light up and a line is drawn through them, so the result is never in doubt. A short dialog confirms the outcome and offers a rematch.
A tap sound on every move and a chime on a win, plus haptic feedback in your hand. Both are separate switches in Settings, and the app remembers how you left them.
Pick whichever is easier on your eyes. The app opens in dark by default and keeps your choice between sessions.
Every match runs on your device. The app makes no network requests at all, so it works on a plane, on the underground, or with mobile data switched off.
No banners, no interstitials, no in-app purchases, no sign-up. Nothing interrupts a round and nothing is gated.
The layout adapts to the screen. On tablets the two game modes sit side by side and the board scales up to fill the extra space.
Game modes
Tic Tac Toe has two modes, and both work without a connection. Pick a solo match against the computer, or hand the device back and forth with someone else.
Challenge Easy, Medium, or Hard
You play as X and move first. The computer answers as O after a short pause, and you can change its difficulty at any point — even halfway through a round.
Offline on the same device
Two people share one screen and take turns. X always starts, then the turn passes automatically, and one scoreboard keeps count for both of you.
Screenshots
Eight real captures from the Android app, straight from the running game. Scroll or swipe through them, or use the arrow keys.
The Android app
The browser game and the app run the same rules and the same opponent. What changes is everything around the board.
Not "works once it has loaded" — the app makes no network requests at all. On a plane, on the underground, or with data switched off, it plays exactly the same. The browser version still needs the page to load first.
A light tap as your mark lands, a different buzz when you win, and an error nudge if you tap a square that is taken. Browsers can only do a fraction of this, and not at all on iPhone.
No tab to find, no address to type, nothing to load. It opens straight into the board, full screen, with no browser bar taking up the top of your phone.
No ads between rounds, no account, no sign-in, and no data collected — a claim you can check yourself in the Data safety section of the Play listing.
Android phones and tablets · package com.shahbaz.tictactoe · published by Syed Shahbaz Hussain
How to play
Tic tac toe is a two-player game on a 3×3 grid. Players take turns marking empty squares, one using X and the other using O, with X always going first. The first player to line up three of their own marks in a row, column or diagonal wins. If all nine squares fill with no such line, the game is a draw.
There are exactly eight winning lines on a 3×3 grid: three rows, three columns and two diagonals. Because the centre square belongs to four of those eight lines, and each corner belongs to three, the centre is the strongest opening move and the corners come next. The four edge squares belong to only two lines each.
Winning against someone paying attention takes a fork: a move that creates two separate threats at once. Your opponent can only block one of them, so the other wins on your next turn. Blocking a single threat is easy; being forced to block two is not.
Tic tac toe is a solved game. If both players play perfectly from the first move, the result is always a draw — which is why the Hard opponent in Tic Tac Toe can never be beaten, only held. Wins happen when somebody misses a threat or hands over a fork.
Why play it
Tic tac toe is a simple game, so what matters is everything around it: whether it works when you need it, whether it interrupts you, and whether the opponent is worth playing.
The Android app makes no network requests. Not for the opponent, not for settings, not for analytics. That is why it plays identically on a plane, in a tunnel, or with mobile data switched off.
No banner across the board, no full-screen ad between games, no "watch a video to continue". Nothing could appear later either: the build contains no advertising library to switch on.
Hard mode runs a complete minimax search of the game tree before every move. It is not a random opponent with a difficulty label — it is provably perfect, and the best result available against it is a draw.
No account, no email address, no profile, no permissions beyond what Android grants by default. The app even blocks the media-playback background permission it would otherwise inherit.
This site runs the same rule engine and the same opponent code as the app, not a lighter re-write. Whatever you learn beating Medium here applies exactly on your phone.
Sound, haptics and your theme choice are remembered between sessions, so the game opens the way you left it rather than resetting to defaults every time.
FAQ
Short answers about the game, the browser version and the Android app.
Yes. The tic tac toe game on this site is completely free to play in your browser. You will not be asked to sign up, hand over an email address, download anything or pay. Open the play page and the board is ready immediately — nothing is locked behind a form or an advertisement.
Yes. Choose "Play vs AI" and you play as X against the computer as O. Three difficulty levels are available: Easy, Medium and Hard. You can switch between them at any time, including in the middle of a round, and the board resets only when you ask it to.
Yes. "Two Players" mode lets two people play on the same screen, taking turns on one device. X always goes first, then turns alternate automatically. The scoreboard counts wins for both players and draws, so you can play a long series and keep track without writing anything down.
Yes, completely. The Tic Tac Toe Android app makes no network requests at all — the opponent runs on your device, so there is nothing to download mid-game. It works in aeroplane mode, underground, or anywhere without a signal. The app has no ads and collects no data.
You win by placing three of your marks in a straight line — across a row, down a column, or along either diagonal. There are eight possible winning lines on a 3×3 grid. The strongest opening is the centre square, because it belongs to four of those eight lines.
Yes. Tic Tac Toe is an Android game published under the package name com.shahbaz.tictactoe. It runs on phones and tablets in portrait orientation. No iOS release exists at the moment. The browser version on this site runs the same rules and the same AI code, so nothing is lost if you play here first.
Start in the browser — nothing to install and nothing to sign up for. If you like it, the Android app plays the same game with no connection at all.
Free · no ads · no in-app purchases · Android package com.shahbaz.tictactoe