What this site is
Tic Tac Toe is a small collection of free browser games and tools, run by the Tic Tac Toe Team. There is nothing to install and nothing to sign up for. To report a bug or suggest a game, email hello@tictactoegame.dev or use the contact page.
- Tic Tac Toe on the classic 3×3 board or the bigger 4×4, 6×6, and 9×9 boards, against the computer or with a friend on the same device.
- Board and dice games: Chess, Checkers, Backgammon, Ludo, Snakes and Ladders, Ultimate Tic Tac Toe, Four in a Row, Gomoku, Yacht Dice, and Tic Tac Go, a push puzzle built on the three-in-a-row idea.
- Card games: Solitaire, Spider Solitaire, FreeCell, Hearts, and Spades.
- Puzzles: Sudoku, Mahjong Solitaire, Jigsaw Puzzle, Minesweeper, Water Sort Puzzle, Arrow Puzzle, 2048, 2048 Cupcakes, Memory Match, and Pattern Echo.
- Math games and quizzes: Math Quiz, Times Tables, Mental Math, Make 24, Number Target, Equation Guess, Make Ten, the Estimation Game, Size It Up, and two probability games, Higher or Lower and the Monty Hall problem.
- Math puzzles: Killer Sudoku, Calcudoku, Futoshiki, Skyscrapers, Kakuro, Nonogram, Number Path, and Light Flip.
- Math strategy games: Nim, Dots and Boxes, Hex, Mancala, and Chomp, against the computer or a friend.
- Arcade games: Bubble Pop, Block Drop, Snake in eight modes, including against the computer or a friend, Maze Muncher, Sky Flap, and the Dino Dash dinosaur runner.
- Word games and tools: Word Guess, Word Groups, Hangman, Word Search, Word Ladder, a Wordle solver, and an anagram solver.
- Speed tests: a reaction time test and a typing speed test.
- Random tools: a wheel spinner, a random name picker, a yes or no wheel, a random number generator, a coin flipper, a dice roller, and a random card picker.
- Music: a virtual piano with 88 keys, virtual drums with a beat maker, and a virtual guitar for strumming chords.
How the instruments make their sound
No sound files are downloaded: every note is made in your browser with the Web Audio API. Piano notes are built from up to 24 slightly stretched overtones, the way stiff piano strings ring. Drums are tuned waves that drop in pitch, shaped noise, and the square waves classic drum machines use for cymbals. Guitar strings use the Karplus-Strong method, a short burst of noise circulating in a loop one vibration long, tuned to a fraction of a sample so every note is in tune.
How the random tools stay fair
Every random tool draws its result from your browser's cryptographic random number generator before any animation starts. The wheel, the flicking names, and the rolling numbers only show a result that has already been decided.
When the number of possible results doesn't divide a raw random value evenly, the tools use rejection sampling: they throw away the few raw values that would make some results slightly more likely and draw again. So every slice, name, answer, number, and face has exactly the same chance. Draws without repeats, such as several names or lottery-style numbers, give every possible set the same chance too.
How 2048, Sky Flap, and Dino Dash work
In 2048, each new tile lands on a random empty square and is a 2 nine times out of ten, otherwise a 4, as in the original game. Both choices use your browser's cryptographic random number generator.
Sky Flap moves its world in fixed steps of 1/120 of a second, so the bird falls and climbs at the same speed on every screen. Each gap is placed within reach of the one before it. Sky Flap is an original game inspired by Flappy Bird and isn't affiliated with it.
Dino Dash uses the same fixed steps. Every gap between obstacles leaves room to land and jump again at the current speed. It's an original game inspired by the dinosaur game in Google Chrome and isn't affiliated with Google.
How the word tools work
The Wordle solver keeps every five-letter word that matches all your colors, then rates the most promising guesses, including common words that can't be the answer, by how much their colors are expected to narrow the list down, measured in bits of information. It uses its own word list, not the official answer list, and isn't affiliated with Wordle or The New York Times.
The anagram solver counts the letters you enter and checks every word in its list against them, with blanks standing in for any letter. The search runs in your browser.
How the word games work
Hangman and Word Search share themed lists of everyday, family-friendly words written for this site. Word Search builds each grid in your browser, never hides one word inside another, and fills the gaps with letters in proportion to how common they are in English, so the filler doesn't give the words away.
Word Ladder links words that differ by one letter and finds the shortest ladder with a breadth-first search. Par uses only the most common words, so any par ladder is one most players can find, but every word in its list of more than 8,000 is a valid step.
Where the word lists come from
The Wordle solver, the anagram solver, and Word Ladder use lists built from the English Speller Database (ESDB, previously SCOWL) by Kevin Atkinson, from wordlist.aspell.net. Its size levels rank how common each word is. Words of four letters or fewer were also checked against ENABLE, a public-domain word list, to drop abbreviations, and a short list of slurs and vulgar words was taken out.
Copyright 2000-2026 by Kevin Atkinson. Permission to use, copy, modify, distribute, and sell any part of the English Speller Database (ESDB, previously known as SCOWLv2), or word lists created from it, is hereby granted without fee, provided that the above copyright notice appears in all copies and that both the above copyright notice and this notice appear in supporting documentation. Kevin Atkinson makes no representations about the suitability of this database for any purpose. It is provided "as is" without express or implied warranty.
How the Tic Tac Go levels were made
The levels were generated, then each one was checked by a breadth-first search that tries every possible move. The same search sets each level's par, the fewest moves that solve it, and powers the Hint button.
Arrow Puzzle levels are built in reverse: each new arrow gets a lane that's clear of every arrow placed before it, so removing them newest first always works and every level can be cleared. Each level is made from its own number, so it's the same puzzle on every device.
Water Sort Puzzle levels start as a random mix made from the level number. Before a mix is used, a search has to find a way to sort it, and mixes it can't sort are thrown away. The same search, aimed at a short solution, powers the Hint button. Water Sort Puzzle is an original game inspired by apps such as Magic Sort and isn't affiliated with Grand Games or other water sort apps.
How the computer plays
- Easy picks a random empty square. On 6×6 and 9×9 it picks one next to a mark already on the board.
- Medium always takes a winning square and always blocks a line that is one mark from complete. The rest of the time it plays its best-looking move about half the time and a random one otherwise.
- Hard on 3×3 plays perfectly. A minimax search scores every position it can reach and caches the results (a 3×3 board has only 5,478 legal positions), so it never loses.
- Hard on the bigger boards runs an alpha-beta search that goes one move deeper at a time for about 0.3 seconds. On 6×6 and 9×9 it ignores squares far from the action, more than two steps from any mark. It answers any line one mark from complete and keeps the best move from the deepest search it finished.
How the board game opponents think
- Four in a Row on Hard runs an alpha-beta search that goes one move deeper at a time for about 0.45 seconds, trying the middle columns first.
- Ultimate Tic Tac Toe uses Monte Carlo tree search: on Hard it spends about 0.65 seconds playing out random games from the current position, gives more of them to the moves that keep winning, and plays the move it tried most.
- Gomoku scores every five-in-a-row window on the board. On Medium and Hard it always answers a four, and on Hard it searches the most promising moves for about 0.7 seconds.
- Chess and Checkers use alpha-beta searches that keep following captures at the end of each line, so they don't stop counting in the middle of an exchange. Chess thinks in a background worker, so the page stays responsive.
- Backgammon on Hard tries every legal way to play the roll and keeps the one that leaves the best position, weighing made points, exposed checkers, and the race. Easy adds random noise to that judgment.
- Ludo on Hard looks one roll ahead: for each token it could move, it plays out the next player's reply to all six rolls and counts what it could lose. In Snakes and Ladders there are no choices, so the computer simply rolls.
- Hearts, Spades, and Yacht Dice opponents follow the habits of good players: ducking tricks, guarding against a moon shot, bidding by counting likely tricks, and, on Hard, choosing which dice to keep by working out the expected score of every option.
How the puzzles stay fair
- Every Sudoku has exactly one solution, and its difficulty is set by the techniques needed to solve it.
- Mahjong Solitaire deals are built backwards from an empty board, so every deal can be cleared.
- FreeCell uses the classic numbered deals, so you can replay a deal or compare it with a friend.
- Every Word Groups puzzle is checked so its 16 words split into four of the game's own categories in only one way.
Four in a Row and Pattern Echo are original versions of classic game ideas, sold elsewhere as Connect 4 and Simon, and Yacht Dice is the dice game sold as Yahtzee. They aren't affiliated with Hasbro, which owns those names. Word Guess and Word Groups are original puzzles in the style of Wordle and Connections, and aren't affiliated with The New York Times. Bubble Pop is a bubble shooter of its own and isn't affiliated with Ilyon or Taito. Arrow Puzzle is an original game inspired by tap-to-escape puzzles such as Arrows – Puzzle Escape, and isn't affiliated with its makers.
How the math games work
- Every Killer Sudoku, Calcudoku, Futoshiki, Skyscrapers, Kakuro, and Number Path puzzle is checked by a solver to have exactly one answer before you see it. Every Nonogram picture can be solved line by line without guessing.
- Light Flip puzzles are made by pressing random squares on a dark grid, so they can always be switched off. Make 24 only deals numbers that can make 24, Number Target only picks targets that can be reached exactly, and Make Ten boards are built so every new board can be cleared.
- The Nim computer plays perfectly on Hard, using Charles Bouton's 1901 nim-sum. Chomp on Hard works out every position on the bar. Dots and Boxes on Hard works out the value of the chains and loops left at the end of the game and, when that pays, turns down the last two boxes of a chain, Hex on Hard plays out thousands of random games from the current position, and Mancala searches ahead with alpha-beta pruning.
- The Snake computer follows the shortest open path to an apple on Medium and Hard, and on Hard it only takes a path that leaves room for its whole body.
- Higher or Lower shuffles one deck before the first card and never changes it. Monty Hall places the car with your browser's cryptographic random number generator before you pick, and nothing on the page shows where it is until a door opens.
How the speed tests measure
The reaction time test starts timing on the screen frame that turns the box green and uses your click's own timestamp, so the page's own work isn't counted. The typing speed test counts a word as five characters, spaces included, and only counts words typed exactly right, plus the correct start of the word you're on when time runs out, toward your words per minute.
Why the bigger boards need longer lines
Game theorists have worked out who wins many "k in a row" games with perfect play. Four in a row is a draw on 4×4 but a forced win for the first player on 6×6, so 6×6 and 9×9 use five in a row instead, which is a proven draw on boards up to 8×8. The rules page lists every board.
Privacy and accessibility
The game runs entirely in your browser. There are no accounts, cookies, ads, or analytics, and your settings and scores stay in your browser's local storage. The privacy policy has the details.
The board works with a mouse, a touch screen, or a keyboard, and a status line tells screen readers about each computer move, each move in two-player games, and each result. Light and dark modes follow your device until you choose one.
How the site is built
Every page is generated ahead of time as plain HTML, so pages load quickly and need no server-side code. The game itself is a small script with no third-party code.