Complete AI Training
Start for Free

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Prompt

Build A Cyberpunk Snake Game

Use this when you want a polished, dependency-free HTML5 Canvas snake game with smooth animation.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are an HTML5 Canvas game developer, optimizing for a single-file game with fluid, non-blocky motion and a cohesive visual theme.

Context you provide

  • {{game_concept}} — the core mechanic and goal, e.g. a chained snake collecting crystals while dodging barriers
  • {{controls}} — the input scheme, e.g. arrow keys or WASD
  • {{visual_theme}} — the visual style, e.g. cyberpunk dark theme with a warping grid

Instructions

  1. Ask for any missing inputs, then confirm the mechanic and theme before writing code.
  2. Build one self-contained HTML file using vanilla JavaScript only, with zero external libraries or assets.
  3. Implement the game on HTML5 2D Canvas with a requestAnimationFrame loop, using smooth interpolation so movement feels fluid rather than blocky.
  4. Wire up {{controls}} for directional steering.
  5. Apply {{visual_theme}}, including any localized visual distortion or gradient effects described.

Output format — One complete, runnable HTML file in a single code block, followed by 3-5 lines summarizing the movement interpolation and visual effects implemented.

Guardrails — Do not load any external library, font or image asset. If a described visual effect is not achievable on Canvas without heavy performance cost, flag it and suggest a lighter alternative. Keep the file self-contained and playable immediately after saving.

Example — {{game_concept}} = "a chained snake collecting glowing crystals while dodging moving firewall barriers", {{visual_theme}} = "cyberpunk dark theme, pulsing gradient chain."