Tic Tac Toe
About Tic Tac Toe
Tic Tac Toe is a free online version of the classic pen-and-paper board game, rebuilt as a clean 2D web game with a simple 3x3 grid. Two players take turns marking empty squares with X or O, and the first to line up three of their own symbol in a row, column, or diagonal wins the round. You can play locally against a friend by sharing the same screen, or challenge the built-in AI when nobody else is around, making it just as fun for a quick solo match as it is for a head-to-head duel.
Tic Tac Toe runs entirely in your browser with no download, install, or account needed, and works equally well with mouse clicks on desktop or taps on a touchscreen. It's one of the simplest games on OnlineGames.io to pick up, but the mental back-and-forth of blocking your opponent while setting up your own winning line gives it real staying power, which is exactly why the game has stayed a favorite for generations.
Controls
| Action | Control |
|---|---|
| Place a Mark | Left Mouse Click on an Empty Square |
| On Mobile Devices | Tap an Empty Square |
Rules of Tic Tac Toe
One player takes X and the other takes O, and you can usually choose which mark to play with before the match starts. X traditionally goes first. On each turn, a player places their mark in any empty square on the 3x3 grid, and the goal is to be the first to connect three of the same mark in a row, whether that's horizontal, vertical, or diagonal. If all nine squares fill up and neither player has completed a line, the match ends in a draw.
Playing Against a Friend or the AI
Tic Tac Toe supports both a 2-player mode, where you and a friend take turns on the same device, and a single-player mode against the computer for whenever you want to practice or play solo. The AI opponent will actively try to block your winning lines and set up its own, so even solo games require real strategy rather than random clicking.
Tips for Winning at Tic Tac Toe
Always think a move ahead: after placing your mark, check whether your opponent has two in a row anywhere on the board and block it immediately. Taking the center square first gives you the most possible winning lines, and taking a corner is the next best opening move. Watch out for "fork" situations where your opponent can create two winning threats at once, since blocking only one of them still lets them win on the next turn.
How to Play Tic Tac Toe
- Choose your mark — Pick X or O before the match begins.
- Choose your opponent — Play against a friend locally or against the AI.
- Take your turn — Click or tap any empty square to place your mark.
- Watch for threats — Block your opponent whenever they have two marks in a row.
- Build your own line — Work toward connecting three of your own marks.
- Win or draw — Complete a row, column, or diagonal to win, or fill the board for a draw.
- Play again — Start a new round and try a different opening strategy.
More Games Like This
If you enjoy classic board games, try Ludo Hero, a strategic board game for two or four players that you can play against online opponents or a bot. Browse our full board games collection for more timeless multiplayer classics.



























































