Tic-tac-toe
Play tic-tac-toe with two players in your browser.
Play tic-tac-toe on a 3 × 3 board with two players or against the computer. Choose your symbol, align three marks horizontally, vertically, or diagonally, and track wins and draws.
Choose the options, then start a game.
Tip: X always starts. To win, align three identical marks horizontally, vertically, or diagonally.
Quick explanation
Choose the game mode: two players on the same device or a game against the computer. In computer mode, also choose your symbol.
X always starts. Click an empty cell to place your mark. The first player to align three symbols horizontally, vertically, or diagonally wins. If all nine cells are filled without a winner, the round ends in a draw.
Try this too
Want a longer grid game?
Try Connect Four to drop discs into a grid and align four before your opponent.
Additional information
How to play Tic-tac-toe?
Choose a two-player game or play against the computer, then place X or O in an empty cell.
The first player to align three symbols in a row, column, or diagonal wins the round.
Game modes
The “2 players” mode lets two people play in turns on the same device.
The “Against computer” mode lets you play against an automatic opponent. You can choose to play X or O before starting the game.
How a round works
X always starts. After each move, the game checks rows, columns, and diagonals.
If all nine cells are filled without a winning line, the round ends in a draw.
Scores and new game
Wins for X, wins for O, and draws are counted separately.
You can start a new round, give up the current game, or reset the scores.
Gameplay tip
The center and corners are often the strongest cells. Always watch for lines where your opponent already has two symbols.
Data and privacy
The game runs directly in your browser. Moves, scores, and the computer strategy are not sent to a server.
Limits and reuse
AppErgo tools are provided free of charge for practical and informational purposes. Although care is taken in their design, a result may be incomplete, unexpected or incorrect. Before relying on a result for any important use, check it using an appropriate method.
To report a bug in the tool, you can use the dedicated bug report form.
Results produced by AppErgo tools may be copied and reused freely. When publicly reusing a result, a method or an AppErgo page, a link to the relevant page is appreciated.
Unless otherwise stated, AppErgo texts, images, visual elements, scripts, templates and internal components remain the property of AppErgo.
For any other request, you can contact the webmaster.