Snake
The classic snake game, steered with arrow keys or swipes.
Full screenV2 · 13 KB · one HTML file
Prompt
Classic snake game1 What it does that works with arrow keys on a computer and swiping on a phone4 What must happen. It should speed up as the snake gets longer3 How it should feel.Exactly as it was typed.
- What it doesThe thing itself, named plainly.
- Who it’s forThis prompt leaves “who it’s for” to the AI.
- How it should feelHow it should get harder as you play.
- What must happenBoth controls, so it works on a computer and a phone.
Practise with blanks
Say what you would write in each blank, then read the prompt above to compare.
- A little left out
Classic snake game that works with arrow keys on a computer and swiping on a phone.
- More left out
Classic snake game that works with and .
- Only the idea
Classic snake game
What this teaches
Name both ways to play and how it should get harder, and the game does both.
- "arrow keys on a computer and swiping on a phone" gives it two controls in one sentence.
- "speed up as the snake gets longer" is the whole difficulty curve.
Changes
Add a wall that appears every five apples, and a pause button.Change request · V1 → V2
What changed
- A new obstacle appears every five apples; hitting one ends the game.
- A Pause button stops the game and turns into Resume.
What stayed: The arrow keys, the swipes and the speed-up work 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 14, 2026 · Direct · Verified on the first try · 263 s · Tested on desktop and phone · 1 AI Credit
- V2 Changed on Oct 14, 2026 · Verified on the second try · 276 s · Tested on desktop and phone · one change, no AI Credits
Known limitations
- The score is not kept: every game starts from zero.
- Swiping needs a touch screen; with a mouse, use the arrow keys.
- Two quick turns before the snake moves can steer it into its own neck.
- The instructions call the food green; it is drawn red.
One idea, three prompts
The same idea said three ways, each built once. Look at the three, then read what they show.
Said short · 3 words
A snake game.
Built on the first try in 67 s, Oct 15, 2026 · shown as it first looked
Said in between · 26 words
Make a snake game I can play in my browser. The snake grows when it eats food and the game ends if it hits a wall.
Built on the first try in 83 s, Oct 15, 2026 · shown as it first looked
As this example says it · 25 words
Classic snake game that works with arrow keys on a computer and swiping on a phone. It should speed up as the snake gets longer.
Built on the first try in 263 s, Oct 14, 2026 · Play it above
All three are snake games that play: a game everyone knows needs few words. What the words changed is how it is played. Asked for a browser, the in-between one put arrow buttons on the screen. Only this example's prompt asked for swiping on a phone, and it is the only one that answers a swipe.
One run of each prompt: a comparison, not a rule.