Tic Tac Toe

Classic 3-in-a-row vs AI or a friend

Mode: AI:
X Wins
0
Draws
0
O Wins
0
X's Turn

How to Play

Click any empty cell to place your mark (X goes first). Get 3 of your marks in a row — horizontally, vertically, or diagonally — to win. Play against the computer AI or pass the device to a friend for local multiplayer.
Easy AI picks random moves. Medium AI occasionally plays optimally. Hard AI uses the minimax algorithm with alpha-beta pruning, making it mathematically unbeatable — the best you can achieve is a draw on Hard mode!
No — minimax ensures the Hard AI never loses. However, you can force a draw by playing perfectly. The center cell is the strongest opening move. Against perfect play, Tic Tac Toe always ends in a draw.