No. On impossible the machine uses the minimax algorithm, which evaluates every possible move and always picks the best one. Against perfect play the best you can get is a draw, winning is impossible, hence the level's name.
Tic-Tac-Toe
Carregando… / Loading…
Tic-Tac-Toe Online: vs Computer or a Friend
Play against the computer or with a friend, right in your browser
The classic tic-tac-toe, with a real AI
Tic-tac-toe (noughts and crosses) is the classic pen-and-paper game where two players take turns marking X and O on a 3×3 board, trying to line up three of their symbols. This online version lets you play against the computer at three levels or against a friend on the same device. On the impossible level, the machine uses the minimax algorithm with alpha-beta pruning, it plays perfectly and never loses, at most it draws. On easy and medium it makes deliberate mistakes to give you a chance. The score is saved in your browser and the winning line is highlighted automatically.
Pick a mode and play
- Choose to play against the computer (and the difficulty) or in 2-player mode.
- Tap an empty cell to place your symbol, you always start as X.
- Line up three symbols to win; use "Play again" for the next round and watch the scoreboard.
Frequently asked questions
Where to go next
Related tools
- Four in a RowLine up 4 pieces before the computer (or a friend) does. Classic strategy on a 7×6 board.
- CheckersThe classic board game with mandatory captures, against the computer or a friend.
- Odds or EvensPlay odds or evens against the computer with hand animation and a saved scoreboard.
- Rock, Paper, ScissorsPlay rock, paper, scissors against the computer with countdown animations and match history.
- Yes or NoMake quick decisions with an unbiased yes or no answer, featuring animation, a best-of-N mode and a history of recent answers.
- Reaction Time TestMeasure your reflexes in milliseconds: click the moment the screen turns green and track your best time and average.