MeYay AI

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.

  1. What it doesThe thing itself, named plainly.
  2. Who it’s forThis prompt leaves “who it’s for” to the AI.
  3. How it should feelHow it should get harder as you play.
  4. 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.

  1. A little left out

    Classic snake game that works with arrow keys on a computer and swiping on a phone.

  2. More left out

    Classic snake game that works with and .

  3. Only the idea

    Classic snake game

Use this idea

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

BeforeAfter

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.

Use this change

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.

  1. Said short · 3 words

    A snake game.
    What it built from these 3 words

    Built on the first try in 67 s, Oct 15, 2026 · shown as it first looked

  2. 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.
    What it built from these 26 words

    Built on the first try in 83 s, Oct 15, 2026 · shown as it first looked

  3. 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.
    What it built from these 25 words

    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.

More like this

Use this idea