Train your design eye: a 10-second spot-the-mistake game Claude Code built from one plain-language prompt
Alignment, spacing, colour, icons, hierarchy: 10 seconds a round to spot what's off. Claude Code wrote it as one HTML file from a plain prompt. Play it here.
Watch the reel on InstagramComment #眼力 to get this guide
Watched plenty of design tutorials but still can't see what's "off"? Your eye is like a muscle: it needs training. We didn't go looking for an app. We wrote a plain-language prompt and gave it to Claude Code, asking for a "Design Eye" mini game: 10 seconds a round to click the line that's out of alignment, the spacing that's too tight, the colours fighting for attention. One more sentence and it added an adventure map. Every screen below is from the game Claude Code made, and you can play it from the link.
01Play a round first
The game is at the link below. It works on a phone or a computer, with no sign-up and nothing to install. Start with the Mixed challenge (綜合挑戰), where all five round types are mixed, and see if you get the top title, 銳利眼 (Sharp Eye). The game's interface is in Traditional Chinese.
- Play online: Design Eye (設計眼力) — One HTML file written by Claude Code, opens and plays in the browser

- Open the link, pick an area on the adventure map and press 開始挑戰 (start).
- Each round shows the question and a 10-second timer bar; running out of time counts as wrong.
- For "find what's off" rounds, click the problem right on the design; for "pick the better one" rounds, click A, B or C, or press 1, 2 or 3 on the keyboard.
- After each answer you get one line of explanation; press 下一題 (next). After 10 rounds you get a result card.
02Five round types, five kinds of eye
Quick test: one line on this poster is out of alignment. Can you see which?

- Alignment: one element in a row is a few px off. Find the invisible line first (left edge, top edge or baseline), then see who isn't on it.
- Letter spacing: the same headline with three spacings; pick the most comfortable. Squint: good spacing reads as one block, not glued together and not scattered letter by letter.
- Colour: three palettes on the same poster; pick the most balanced. Look for the lead: a large background colour, a steady text colour, and a small touch of a bright accent.
- Icons: one outsider in a set of line icons. Compare three things: stroke weight, how round the corners are, and whether it's filled.
- Hierarchy: the same content in three size hierarchies. Ask yourself: is the first thing you see the most important line?
Each of those tips was written into the game by Claude Code itself; it pops up before you enter each area.




03Scoring and titles: faster and right scores more
- +10 for a right answer.
- +5 more if you answer right within 3 seconds.
- Streak bonus: from the 2nd in a row, +2, 4, 6, 8, up to +10 a round. A wrong answer or a timeout resets the streak.
- Ten right answers, all fast, gives the maximum of 220.
- Result titles: 90+ is 銳利眼 (Sharp Eye), 70+ is 好眼力 (Good Eye), anything else is 練習中 (In Training).

04Make your own: describe the game to Claude Code in plain words
- Make a new, empty folder.
- Open Claude Code in that folder (first time? See the official quickstart below).
- Paste the prompt below. The [ ] parts are yours to change; it works as is too.
- When it's done, open index.html from the folder in Chrome or Safari and play.
Make a small web game called "[Design Eye]". Concept: training your eye beats watching more tutorials. Each round shows a small design ([a poster, a business card, an app screen, a headline layout]) with one hidden design mistake, or a few versions to pick the better one from. The player has [10] seconds to click the answer. Round types ([10] rounds in total, mixed): 1. Find the one that's out of alignment (one element in a row is off by a few px) 2. Which letter spacing feels right (the same headline, three spacings) 3. Which colour set is more balanced (three palettes on the same poster) 4. Find the icon from a different system (a set of line icons with one filled or differently rounded icon mixed in) 5. Which heading hierarchy is right (the same content, three size hierarchies) How it plays: - Start screen: big title "[Design Eye]", one line of explanation, a start button - At the top of each round: the question, round x/10, score, streak, a 10-second timer bar - Right answer: green feedback "Good eye!" plus one line on why; wrong or out of time: mark where the right answer was, plus one line of explanation - Scoring: 10 points for a right answer, 5 more if it's within 3 seconds, a bonus for streaks - After 10 rounds a result card: a title (90+ "Sharp Eye", 70+ "Good Eye", otherwise "In Training"), score, how many right, average reaction time, a play-again button Style: [fresh, pastel game feel. A soft mint-green to butter-yellow gradient background, cream rounded cards, soft shadows, rounded bold type]. The small design in each round should look like a real poster (bold colour blocks, bold headlines), drawn with HTML / CSS / SVG, no images. The interface is all in [English]. It should look good from a phone held upright to a desktop. Tech: a single index.html (HTML + CSS + JS), no backend, opens and plays straight in the browser.
We gave our prompt (in Chinese) to a fresh Claude Code session, plus only where to save the file and a request to play all 10 rounds once in a browser to check. Its first version is what you see above: 10 rounds, a timer bar, score, streak, one line of explanation per round, and every poster in the rounds drawn in code, with no images at all.
- Claude Code quickstart (official) — Install and first use
05One more sentence: an area for each challenge
Once the first version worked, we added one sentence in the same Claude Code conversation and it edited the file it had written: the home page became an adventure map with one area per round type, ending with the Mixed challenge.
Give each kind of challenge its own level area: make an "adventure map" home page with six areas, [Alignment, Spacing, Colour, Icons, Hierarchy, Mixed challenge], each showing its own progress and best score; clicking one plays only that area's questions (Mixed challenge = the original 10 mixed rounds). Then polish the whole layout a bit more, keeping the same style.


Stars follow your best score: 1 star from 40, 2 from 70, 3 from 90, 18 in total across six areas. Each area keeps its own best, and when you beat it the result card tells you by how much.

06Swap in what you want to train
The five round types are just a start. To train composition, photos or font pairing, describe the new round type the same way and have it edit the same file.
This is the "Design Eye" game you made for me earlier (index.html). Please add a new round type: - Question: [e.g. which photo has the steadier composition] - Give [three] versions each round: [e.g. the same illustration with the subject on a third line, dead centre, and pressed against the edge], drawn with HTML / CSS / SVG, no images - The explanation after an answer says [why this one is better, in one line] - Add an area to the adventure map called "[Composition]", and mix this type into the Mixed challenge too Keep everything else (how it plays, scoring, style) the same, still one index.html. When you're done, play it through once yourself and tell me what you changed.
07Good to know
- The posters, shop names, people's names and copy in the game (COFFEE CLUB, oat latte, BIG SALE and so on) are made-up demo content written by Claude Code, not real brands.
- Claude Code builds it a little differently every time: the layout, colours and how rounds are drawn may differ from ours, so go by the file you get.
- The game loads its fonts from Google Fonts online. Without a connection it still plays, just in your computer's built-in fonts.
- Scores and progress stay in your browser; nothing is uploaded and there's no leaderboard. A leaderboard would need a backend.
- The rounds test common layout principles, not the only right answer. In real design work, the content and the goal decide.