Tic-Tac-Toe vs Computer
Play tic-tac-toe as X on a 3x3 grid against a computer that replies on a random free square; the board calls the win, loss or draw and resets on demand.
Sua vez (X)
Beating an opponent that plays at random
Tic-tac-toe between two attentive adults always ends in a draw, which is exactly why it gets old fast. Here the opponent is the machine, but a machine that does not think: it picks a free square at random every turn. The result is a two-minute game you can genuinely win, as long as you set up the right move before luck gets in the way.
The CPU never evaluates the board. It lists the empty squares and picks one with equal probability, so it never blocks your line on purpose and never chases its own three in a row. If it wins, that was chance. Your win is checked right after your move, before the machine replies, so completing a line ends the game immediately.
The strategy that almost always works is building two threats at once, a fork: open with the centre or a corner and create two lines, because a random pick rarely covers both. You always play X and always move first. There are no difficulty levels, no running score and no two-player mode. Restart clears the board, and nothing is stored or sent anywhere.
Frequently asked questions
Can I win every time?
Is there a hard mode?
Can I play as O or against another person?
Related Tools
Scoreboard
Simple scoreboard for two teams. Add points and track the result in real time.
Endless Runner
Chrome Dino-style: run forever, jump (space/↑) over cacti and duck (↓) under birds. Speed increases with distance. High score saved.
Bingo Cards Generator
Generate bingo cards 75 (5x5 with FREE center) or 90 (3x9), in configurable quantity. Print and play. Everything in your browser.
Hangman Game
Classic hangman game in PT-BR with curated word bank and 6 lives. Each wrong guess adds a body part. Everything in your browser.
Playable Tetris
Classic playable Tetris: rotate and stack pieces to clear lines. Arrows move, ↑ rotates, space hard-drops. NES scoring table, level up every 10 lines.
Mastermind Color Code Game
Crack a hidden four-slot code where digits 1 to 6 stand for colors. You get eight tries, each scored for right color in the right spot and in the wrong spot.