Tic-Tac-Toe

Play a quick local two-player Tic-Tac-Toe game. X starts, first three in a row wins.

Turn: XX 0O 0Draws 0
Game ready.

How to play

Players take turns placing X and O. The first player to fill a row, column or diagonal wins. If all cells are filled with no winner, the round is a draw.

Frequently asked questions

Is this against a computer or another player?

Another player, locally — there's no computer opponent here. Take turns on the same device, or use it as a quick tie-breaker between two people.

Is my score saved?

Only for the current session — the X/O/draw tally resets when you refresh or leave the page.

Is there a way to never lose?

Yes — with perfect play from both sides, Tic-Tac-Toe always ends in a draw. The first player only has a practical edge if the second player makes a mistake, since the game is small enough to fully solve.

Last updated: 2026-07-22