Tic Tac Toe Online: Free Game vs Computer or 2 Players
Your turn
Get three in a row, across, down or diagonally. X goes first. The score stays on this page until you reset it or close the tab.
Play tic tac toe online for free: against the computer on an easy or an unbeatable hard level, or with a friend on one screen. Get three marks in a row on the 3×3 grid. There is nothing to install and no sign-up.
How to play tic tac toe
- Pick a mode: Vs computer, or 2 players to share one screen. Against the computer, pick Easy or Hard and who starts.
- Tap an empty square to place your mark. X always goes first, then the turns alternate.
- Get three of your marks in a row, across, down or on a diagonal, before your opponent does. The winning line lights up.
- If all 9 squares fill with no line, it is a draw. Press New game to play again; the score stays until you reset it.
Can you beat the computer on Hard?
No. Hard searches every possible continuation of the game (there are never more than 9 squares to fill) and always plays a move that keeps the best result open to it, so it never loses. The best you can do against it is a draw, and it punishes a mistake at once. Easy takes a win when one is on the board and otherwise picks a free square at random, so it never blocks on purpose, and a careful player beats it.
How do you never lose at tic tac toe?
Play the first rule on this list that applies, every turn. Followed to the letter, it cannot lose:
- Win: if you have two in a row with the third square free, take it.
- Block: if your opponent has two in a row, take the third square.
- Fork: make a move that threatens two lines at once, so one block cannot stop both.
- Stop their fork: take the square that would give your opponent a fork.
- Take the centre if it is free.
- If your opponent holds a corner, take the opposite corner.
- Take any free corner, then any free side.
What is the best first move?
A corner. From a corner the opponent has only one reply that avoids losing, the centre, and every other reply loses to correct play, so a corner gives a careless opponent the most ways to go wrong. The centre is almost as strong, and a side is the weakest opening. With best play from both players every opening ends in a draw.
How many ways can you win?
There are 8 winning lines on the 3×3 grid: 3 rows, 3 columns and 2 diagonals. The centre sits on 4 of them, each corner on 3 and each side on 2, which is why the centre and the corners are the strong squares.
2 players on one screen
Choose 2 players and pass the phone or share the screen: X and O take turns, the winning line lights up, and the score for each player is kept until you reset it. Changing the mode or the level starts a fresh score.
Looking for another quick game for two? Try checkers or battleship, both free in the browser.
Sources
See also: Dreidel Online
Frequently asked questions
Is tic tac toe a solved game?
Yes. With best play from both sides it always ends in a draw, so neither player can force a win against an opponent who makes no mistake.
Who goes first in tic tac toe?
X goes first. Against the computer you choose who starts: if you start you play X, and if the computer starts it plays X and you play O.
Can the computer lose on Hard?
No. Hard never loses: the best result you can get against it is a draw.
How is Easy different from Hard?
Easy takes a winning square when one is free and otherwise plays a random square, so it never blocks on purpose. Hard always plays the best move.
How many squares are there, and how many lines win?
There are 9 squares in a 3×3 grid and 8 winning lines: 3 rows, 3 columns and 2 diagonals.
Can I play with a friend on the same phone?
Yes. Choose 2 players, then take turns tapping the squares on the same screen.
Is tic tac toe the same as noughts and crosses?
Yes. Noughts and crosses is the British name, and it is the same game with the same rules.
Does the page save my games?
No. The score lives on the page until you reset it or close the tab, and nothing is sent to us.
More free tools
- Yes or no wheelAsk a question, spin the wheel and get a random yes or no.
- Random name pickerPaste a list of names, spin the wheel and draw one at random.
- Secret Santa generatorDraw names with exclusions and send each person a private link. No email, no sign-up.
- Online advent calendar makerWrite a message for each December day and send the calendar as one link.
- White Elephant game helperThe rules, plus a host screen that draws the turn order and counts steals.
- Martingale calculatorSimulate the martingale strategy with your own bankroll, odds and table limit.
- Kelly criterion calculatorOptimal bet size for any odds, with the exact risk of ruin for each stake.
- Telegram Stars calculatorWhat any number of Stars costs on Fragment and in the App Store, pack by pack.
- Gram converterGram to dollars and Telegram Stars, at every rate Telegram uses.
- Plinko simulatorDrop thousands of balls on real Plinko tables and compare them with the exact odds.
- Slot RTP simulatorRun 100,000 real slot spins and watch the return settle on 95%.
- Mines calculatorSurvival odds and multipliers for any mines board, mine count and house edge.
- Keno odds calculatorExact hit odds for any keno board, and the house edge of any paytable.
- Provably fair checkerRecompute any Gift Club round from its seeds, in your browser.
- CS2 Major simulatorSimulate the Singapore Major's Swiss stages and test your Pick'Em picks.
- Monty Hall simulatorPlay the Monty Hall problem, then run 10,000 rounds of stay versus switch.
- Dice probability calculatorThe chance of any dice total: exactly, at least or at most, with the full chart.
- Dice rollerRoll up to ten dice online, hold the ones you want and see the total.
- MinesweeperThe classic in three sizes, with a safe first click and flags on long press.
- BattleshipThe classic sea battle against the computer, on Easy or Hard.
- YahtzeeFive dice, three rolls and the full score sheet, alone or with friends.
- Yatzy score sheetPrint a blank sheet for the table, or fill it in here and let it add up.
- LudoThe classic race home, against the computer, in four countries' rules.
- CheckersCheckers and draughts against the computer, in seven countries' rules.
- 2 Player CheckersTwo players, one screen: the board opens ready for you and a friend.
- Shashki (russian checkers)Shashki in your browser: flying kings, and men that capture backward.
- DraughtsEnglish draughts in your browser, against the computer or a friend.
- Nine Men's MorrisNine Men's Morris (Mühle) against the computer: mills, flying and no download.
- BackgammonStandard backgammon against the computer, with gammon and backgammon results.
- Gacha simulatorExact pull odds with soft and hard pity, expected pulls per copy and the chance your pulls are enough.
- Case opening simulatorOpen the free Spark box in your browser and see what it can hold, Telegram gifts included.
- Roulette odds and payoutsRoulette odds and payout calculator: what any stake pays, house edge and streak odds for every bet.
- Blackjack strategy chartBasic blackjack strategy for your table's rules, a hand lookup and a hint trainer.
- Tambola ticket generatorPrint valid housie tickets and call numbers 1 to 90, with a board and voice.
- Christmas bingo generatorMake different Christmas bingo cards and call them, to print or play on screens.
- Christmas word searchA new Christmas word search in a click: play on screen or print it with the answers.
- Super Bowl squares generatorFill a 10 by 10 squares grid, draw the numbers, and find the winner of each quarter.
- Charades generatorRandom charades words with a timer, two teams and a Christmas pack, to play, print or share.
- Christmas trivia quizChristmas trivia questions and answers: host a team quiz, play solo, print or copy a round.
- New Year countdownA live count to midnight, full screen for a party, and where it is already New Year.
- Christmas countdownDays, sleeps, hours and seconds until Christmas, live in your time zone.
- Wheel of fortuneType your options, spin the wheel and get a random pick. Yes or no, numbers and names.
- Snakes and LaddersThe classic climb to 100 on the 1943 board, against the computer.
- Fal-e HafezMake a wish and open Hafez's Divan: a ghazal and its reading.
- Practice BlackjackA free blackjack table with a best-move hint on every hand. No money, no sign-up.
- Practice RouletteA free single-zero table to practice bets and the layout. No money, no sign-up.
- OkeyTurkish tile rummy against three computer players, with the full rules.
- DreidelSpin a virtual dreidel, see what each letter means and keep score of the coins for 2 to 6 players.
New to Gift Club? A welcome pack is yours in Telegram
Gift Club is a Mini App in Telegram. New players get 10 Sparks, a Streak Freeze and a welcome gift the moment they open it.
Get the welcome pack in Telegram

