Snake
The classic snake game, steered with arrow keys or swipes.
V2 · 0:12 demoPlay
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.
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.