Tic-Tac-Toe
Three in a row against a computer that is hard to beat, or against a friend on the same screen.
V2 · 0:09 demoPlay
Full screenV2 · 13 KB · one HTML file
Prompt
Tic-tac-toe against the computer1 What it does. The computer should be hard to beat but not impossible3 How it should feel.Exactly as it was typed.
- What it doesWhat it is, and who you play.
- Who it’s forThis prompt leaves “who it’s for” to the AI.
- How it should feelHow a game against it should feel.
- What must happenThis prompt leaves “what must happen” to the AI.
What this teaches
Say how strong the computer should be, and it is tuned to that.
- "against the computer" asks for an opponent, not only a board.
- "hard to beat but not impossible" sets its strength: it plays its best move most of the time and slips now and then.
- The change adds a mode and a counter in one sentence.
Changes
Add a two-player mode and keep a win counter for both players.Change request · V1 → V2
What changed
- A mode list switches between the computer and Two players, who take turns on one screen.
- Wins for X and O and draws are counted in two-player games.
What stayed: Playing against the computer works as before.
Try a change
Each one starts your own draft in the Studio. Nothing is built until you press Build.
How it was made
- V1 Built on Oct 15, 2026 · Direct · Verified on the second try · 82 s · Tested on desktop and phone · 1 AI Credit
- V2 Changed on Oct 15, 2026 · Verified on the second try · 139 s · Tested on desktop and phone · one change, no AI Credits
Known limitations
- The counters start from zero when the page is opened again.
- Each mode keeps its own counters.