Tic Tac Toe — Online Multiplayer and Smart Bots
A free online tic-tac-toe game with three distinct computer opponents, local two-player mode on one device, and peer-to-peer online rooms joined by a six-character code. Each bot has its own thinking style: a careless Rookie, a Cautious blocker, and a Strategist that never loses.
vs Computer, 2-Player on one device, or an Online room with a friend.
For the computer mode, pick Rookie, Cautious or Strategist. Toggle Misère if you want 3-in-a-row to lose.
For an online game, copy the room link or show the QR so your friend can join.
Tap cells to place your mark. After each game, one tap replays with roles alternated.
Features
Do the three bots really play differently?
Yes. Rookie is a weighted-random bot that never blocks; Cautious is a priority-rule engine with calibrated blunders; Strategist runs full alpha-beta minimax with a randomized opening book and a fork-preferring tiebreaker. Watch their first moves — they make completely different choices in the same position.
Can the Strategist be beaten?
No. Tic-tac-toe is a solved game. The best you can do against perfect play is draw. If you want wins, play Rookie or Cautious.
How does the online mode work?
Browsers connect peer-to-peer through PeerJS using our signaling server. Your moves travel directly between the two devices — there are no accounts, just a room code.
What is Misère?
A classic variant where the player who completes three in a row LOSES. The bot's minimax is inverted, so Strategist still plays optimally — for the opposite goal.
Does it work on phones?
Yes. Touch controls, keyboard navigation, numpad 1–9 shortcuts, and screen-reader announcements are all supported.
We can — and it's free! Just send us a quick message with your idea. If you'd like to discuss it in detail, leave your email and we'll get back to you. You can stay anonymous.