About Tic-Tac-Toe
Tic-Tac-Toe, also called noughts and crosses, is the oldest duel there is: two players, X and O, take turns marking squares, and the first to line up their marks in a row, column or diagonal wins. Here you can play the classic 3×3 board or step up to 4×4 and 5×5, where you need four in a row, against the computer or a friend in another browser.
How to play
- X moves first. Players take turns placing one mark on any empty square.
- On 3×3, three marks in a row win. On 4×4 and 5×5, four in a row win.
- The marks must be consecutive in a row, column or diagonal.
- If the board fills with no winner, the round is a draw.

Three boards, three different games
3×3 is solved. With perfect play from both sides, every game is a draw, and the computer here plays perfectly. You cannot beat it: the challenge is never to lose.
4×4 gives you room. Four in a row on a 4×4 board means filling a whole line, so blocking is easy and long games are common.
5×5 is where tactics start. With four in a row needed and space to spare, you can build two threats at once, a fork, and the computer can only block one.
Play a friend
Choose Play with a friend, pick the board size, enter your name and create a room. Copy the link and send it. Your friend opens it in their own browser, enters a name and takes the second seat. No account is needed on either side.
A room keeps its board size and lasts 24 hours. After each round both players accept Rematch, and the first move alternates so neither of you keeps the advantage. If you refresh or lose connection, return in the same browser to get your seat back.
Play the computer
Choose Play the computer and start straight away. On 3×3 it never makes a mistake. On 4×4 and 5×5 it searches ahead to attack, block and build forks of its own. Changing the board size starts a new match.
Tips
- On 3×3, take a corner or the centre on your first move.
- If your opponent opens in a corner, take the centre. Any other reply can lose.
- Look for forks: a move that makes two lines of two at once. Your opponent can only block one.
- On bigger boards, block early. Three in a row with both ends open is already too late to stop on 5×5.

More in how to win at tic-tac-toe.
Scoring
Wins and draws are counted in the current match. Computer games and friend rooms keep separate scores, and duels are not ranked on a global leaderboard.


