Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

Tic Tac Toe Game

You play as X and move first. The computer plays as O.

You (X)
0
Draws
0
Computer (O)
0
Difficulty:
Hard mode is unbeatable — aim for a draw.
Your turn — tap a square.

How to play

  1. Pick Easy for a casual game or Hard for an unbeatable opponent.
  2. Tap an empty square to place your X. The computer answers with O.
  3. Get three of your marks in a row — across, down or diagonal — to win.

Related tools

You may also like our Dice Roller and Coin Flip and Would You Rather Game.

Frequently Asked Questions (FAQ)

How does hard mode work in this tic tac toe game?

Hard mode uses the minimax algorithm: the computer evaluates every possible future move and always picks the move with the best guaranteed outcome. Played correctly it can never lose, so the best possible result for the player is a draw. Easy mode simply picks a random empty square each turn.

Who moves first in the game?

You always move first as X, and the computer replies as O. Click or tap any empty square to place your X, then the computer answers immediately. Winning lines are highlighted when the game ends.

Are my scores saved between visits?

Yes. Your wins, computer wins and draws are saved in your browser on this device, so the score board survives page reloads. Use the Reset scores button to clear the saved record at any time.

Can I switch difficulty in the middle of a game?

Yes, but switching the difficulty starts a fresh game so the board and the new setting stay consistent. Your saved scores are kept.

Is this tic tac toe game free?

Yes, the game is 100 percent free with no signup and no limits. Play as many games as you like on any device.