Skip to content
Browse the store

Levelwick · free AI game prompt library

144 free AI game prompts that spell out the whole game

Original prompts by genre for AI game makers such as Google Labs Playground and for AI chat assistants: tower defense, racing, trivia, platformers, puzzles, party games, cozy sims and more. Each one spells out the core loop, controls, win and lose rules, scoring and difficulty, so you spend fewer tokens on retries. Copy, paste, play.

Prompts by genre

Tower defenseEnemies follow a route, you spend coins on towers that stop them. The fun lives in placement choices and a steady rise in pressure.9 promptsRacingSpeed, steering and the line through the corner. Short tracks, readable handling and an instant restart matter more than graphics.9 promptsTrivia and quizQuestions, a clock and a scoreboard. Great for classrooms, parties and fan clubs, as long as you supply or check the questions yourself.9 promptsPlatformerRun, jump and land. Platformers live or die on how the jump feels, so describe it carefully and fix it before adding levels.9 promptsPuzzle (match, slide, logic)Match-3, sliding tiles, logic grids and physics puzzles. Clear rules, an undo button and a guaranteed-solvable board are what make them satisfying.9 promptsParty (pass-the-phone, local multiplayer)Games for a room full of people on one device: pass the phone, share a keyboard, or play on a TV. Rules must be explainable in ten seconds.9 promptsCozy sim (farming, cafe, garden)Gentle loops of planting, serving and decorating. No fail state needed; satisfaction comes from growth, routines and small surprises.9 promptsEndless runnerAuto-run, react, survive. The speed curve and fair obstacle spacing decide whether players hit retry or close the tab.9 promptsShooter / shmup (cartoon, non-graphic)Dodge patterns, fire back, collect power-ups. Keep it cartoon: ships, robots and space blobs that pop rather than anything realistic.9 promptsWord gamesLetters, guesses and anagrams. Word games need a word list, clear validation and good typing plus touch keyboard support.9 promptsRhythm and musicHit notes on the beat, make music, follow a groove. Use generated sounds from the browser so you don't need audio files you don't own.9 promptsIdle and clickerClick, buy, automate, watch numbers grow. The pacing curve is everything: early purchases every few seconds, later ones every few minutes.9 promptsSportsShort, punchy versions of real sports: one shot, one kick, one swing. Simplify the rules and make the physics generous.9 promptsRoguelite dungeonShort runs, random rooms, upgrades and permanent unlocks. Keep each run to 10-20 minutes and every choice readable.9 promptsEducational (kids learning)Practice maths, reading, science and more through play. Short sessions, encouraging feedback, and content you have checked yourself.9 promptsCard and board gamesClassic tabletop rules in a browser. The AI is good at rule engines if you spell out the rules, turn order and what the computer opponent does.9 prompts

Get a working game in fewer tokens

Start with the core loop only

Your first prompt should produce the smallest playable version: move, the main action, one way to score and one way to lose. Add menus, levels and polish in later prompts once the loop works.

Change one thing per follow-up

Ask for one change at a time. Bundling five changes means that if something breaks, neither you nor the AI knows which change caused it, and you pay for another full attempt.

Name the bug precisely

Say what you did, what you expected and what happened. 'After jumping onto the moving platform, the player slides off the left side' gets fixed; 'jumping is broken' gets a rewrite.

Freeze what works

Add 'Don't change anything else' or 'keep the controls and scoring exactly as they are' to follow-ups. AI tools tend to rewrite more than needed unless told not to.

Describe controls explicitly

List every key and touch control: 'Left/right arrows or A/D move, Space jumps; on touch, buttons at the bottom corners.' Undescribed controls are the most common reason a generated game can't be played on a phone.

Ask for a restart button early

Include a Restart button and an R key in your first prompt. Testing is much faster when you don't reload the page after every attempt.

Keep the art simple

Ask for shapes drawn in code with a clear palette. Detailed art takes many attempts and hides gameplay bugs. Swap in your own images once the game plays well.

Reuse a working prompt as a template

When a prompt produces a good game, save it. Change the theme, numbers and one mechanic for your next game instead of starting from a blank page.

Give numbers, not adjectives

'Enemies move 120 pixels per second and get 10% faster every wave' is testable. 'Enemies are fast and get harder' can mean anything.

Use text grids for levels

Describe levels as small text maps (# for walls, C for coins). The AI follows grids reliably, and you can edit levels yourself without another generation.

Ask for editable data at the top

Request that questions, levels, prices and wave lists live in clearly labelled arrays at the top of the code. You can then change content by hand without spending another generation.

Paste the error message

If the game shows a blank screen, open the browser console (F12 on desktop) and paste the exact red error text into your follow-up. It usually points straight at the problem.

Request a debug view

Ask for a toggle that shows hitboxes, paths or the FPS. Seeing the problem lets you describe it exactly, which saves attempts.

Know when to restart from your prompt

If several fix attempts make things worse, go back to your last working version or regenerate from your improved original prompt with the lessons included. Endless patching can cost more than a clean start.

How-to guides

How to make a tower defense game with AIBuild a working tower defense game with an AI game maker or chat assistant: a step-by-step prompt sequence, balance tips and fixes for common bugs.How to make a racing game with AIMake a fun top-down or endless racing game with an AI game maker: handling numbers, laps and checkpoints, opponents, touch controls and bug fixes.How to make a trivia game for a class or party with AICreate a quiz game for your classroom or party with an AI game maker: editable questions, teams, buzzers, scoring and a projector-friendly layout.How to make a platformer game with AIMake a platformer that feels good with an AI game maker: jump tuning, coyote time, text-grid levels, touch controls and collision bug fixes.How to fix common bugs in AI-made gamesFix prompts for the bugs AI-made games hit most: blank screens, falling through floors, speed issues, stuck keys, silent audio and slowdowns.How to turn your own drawings and images into game assets for an AI game makerPrepare drawings and photos as game assets: single subjects, transparent PNGs, consistent size and style, and the rights you need before uploading.How to write a good AI game promptA practical structure for AI game prompts: core loop, controls, win and lose rules, scoring, difficulty, style, feedback and constraints, with examples.

How we tested

We took one prompt from each of the 16 genres and gave it, word for word, to a general-purpose LLM chat model with one instruction: answer with a single self-contained HTML file. Each game is the first generation, with no retries or fixes. We then opened every file in Chromium with the network off and ran the same script on each: press a visible Start or Play button if there is one, then arrow keys, Enter, Space and taps. A prompt passes when the page has no script errors, draws the game and responds to that input. This checks that the game starts and responds. It doesn't judge how fun or complete the game is.

15 of 16 first-generation games started and responded to input.

PromptGenreResultNote
Solitaire, klondike rulesCard and board gamesruns ✓runs, responds to input
Corner cafeCozy sim (farming, cafe, garden)runs ✓runs, responds to input
Times tables raceEducational (kids learning)runs ✓runs, responds to input
Three-lane city runnerEndless runnerruns ✓runs, responds to input
Space miner idleIdle and clickerruns ✓runs, responds to input
Wall-jump towerPlatformerruns ✓runs, responds to input
Secret word spyParty (pass-the-phone, local multiplayer)runs ✓runs, responds to input
Pipe connectPuzzle (match, slide, logic)runs ✓runs, responds to input
Drift trialRacingruns ✓runs, responds to input
Room-by-room arena runRoguelite dungeonruns ✓runs, responds to input
One-button beat hopRhythm and musicruns ✓runs, responds to input
Bullet pattern dodgerShooter / shmup (cartoon, non-graphic)failedscript error on first generation: Unexpected token ':'
Table tennis vs computerSportsruns ✓runs, responds to input
Build-your-own mazeTower defenseruns ✓runs, responds to input
Classroom team buzzer quizTrivia and quizruns ✓runs, responds to input
Falling lettersWord gamesruns ✓runs, responds to input

We have not tested the prompts inside Google Labs Playground itself. Results in any AI tool vary from run to run.

Levelwick Pro

Ship a whole game, not just a first draft

30 fill-in master templates with worked examples, 12 multi-step build recipes (what to prompt, what to check after each step, and the fix prompt when it breaks), 40 bug-fix prompts by symptom, 20 art-direction briefs with upload tips, and a game-design + launch checklist. Markdown files, instant download.

One-time $12. Use and adapt the prompts in your own games, commercial ones included. 14-day fix-or-refund if it doesn't work as described. Secure checkout by Stripe.

Free sampler

T01 · Path defense master template (template)

Use it for: classic tower defense with a fixed route and placed towers. The most reliable starting point for the genre.

Variables

VariableWhat to writeExample
{{theme}}Setting in a few wordsbackyard garden
{{enemy}}Who walks the pathslugs
{{base}}What the player protectsthe garden gate
{{waypoints}}Path as a waypoint description6 waypoints snaking left to right
{{tower_1..3}}Name, price, rolePea Shooter, 25, single target
{{start_money}} / {{reward}}Economy100 / 5
{{lives}} / {{waves}}Lose and win conditions10 / 12
{{palette}}Visual styleflat bright greens and browns

Master prompt

Make a one-screen 2D tower defense game set in a {{theme}}.
PATH: {{enemy}} walk a fixed path through {{waypoints}} to {{base}}. Draw the path clearly. Enemies move from waypoint to waypoint and never leave the path.
BUILDING: The player clicks or taps an empty build tile beside the path to open a small menu of towers:
- {{tower_1}}
- {{tower_2}}
- {{tower_3}}
Greyed-out buttons when unaffordable. Tapping a built tower shows its range circle and a Sell button (refund 50%).
ECONOMY: Start with {{start_money}} coins. Each enemy defeated gives {{reward}} coins with a floating "+{{reward}}".
WIN/LOSE: {{base}} has {{lives}} lives; each enemy that reaches it costs 1. Survive {{waves}} waves to win.
WAVES: Waves start with a Start Wave button. Use a wave list: each wave adds enemies and +10% enemy health; every 4th wave adds a faster enemy type; the last wave has a boss with a health bar.
FEEDBACK: Enemies flash white when hit, pop into particles when defeated, and the screen shakes briefly when a life is lost.
HUD: coins, lives and wave number at the top; Start Wave and Pause buttons.
STYLE: {{palette}}, simple shapes drawn in code, no external images.
CONSTRAINTS: one HTML file, works with mouse and touch, all movement based on elapsed time, Restart button on the win and lose screens.

Worked example

Make a one-screen 2D tower defense game set in a backyard garden. PATH: slugs walk a fixed path through 6 waypoints snaking from the left edge to the garden gate on the right… Towers: Sprinkler, 10 coins, slows enemies 40% in range; Pea Shooter, 25 coins, single target; Bee Hive, 40 coins, small area damage. Start with 100 coins, 5 per slug. 10 lives, 12 waves. Flat bright greens and browns…

After the first generation, check: enemies stay on the path; towers only fire within the drawn range; selling refunds the right amount; the boss appears on the last wave.

Strong follow-ups

  • "Add a 2x speed button. Don't change anything else."
  • "Add upgrades: tap a tower to upgrade to level 2 (+50% damage) for 1.5x its price."
T13 · Classroom quiz engine template (template)

Use it for: any subject quiz you'll reuse with new questions every week.

Variables

VariableExample
{{subject}}Year 6 science: forces
{{questions}}your list, pasted in the format below
{{timer}}20 seconds, or "no timer"
{{teams}}2 to 4 teams, or "single player"
{{reward}}a star burst and a "Great thinking!" message

Master prompt

Make a quiz game for {{subject}}.
DATA: put all questions in an editable array at the very top of the code, clearly labelled QUESTIONS. Each item: question, four answers, index of the correct answer, optional explanation. Use exactly these questions:
{{questions}}
FLOW: shuffle questions and answer order; never repeat within a game. One question at a time with four large buttons (keys 1-4 also work).
TIMER: {{timer}}.
TEAMS: {{teams}}. If teams: show whose turn it is; correct = +10 to that team; turns rotate each question.
FEEDBACK: correct: {{reward}}. Wrong or timeout: chosen answer red, correct answer green, explanation shown for 3 seconds.
END: scoreboard, list of missed questions with correct answers, Play Again.
DESIGN: high contrast, at least 28 px answer text, readable on a projector and a phone.
CONSTRAINTS: one HTML file, works offline, no external fonts or images.

Question format to paste

Q: What force pulls objects toward Earth? | Friction | Gravity* | Magnetism | Air resistance | Gravity pulls everything with mass toward the Earth's centre.

(An asterisk marks the correct answer; the last field is the explanation.)

Check: the asterisk is removed from displayed text; explanations show for wrong answers only; teams rotate correctly after a timeout.

Ship a tower defense in 6 prompts · Step 1 of 6 (recipe-step)
Make a one-screen 2D tower defense game. Cartoon beetles walk a fixed path of 6 waypoints from the left edge to a tree stump on the right. The player clicks or taps a grass tile to place a Leaf Turret for 25 coins; it shoots the nearest beetle within 120 px once per second. Start with 100 coins; each beetle gives 5 coins. The stump has 10 lives; each beetle reaching it costs 1. A Start Wave button sends 8 beetles. Show coins, lives and wave at the top. Shapes drawn in code, flat greens and browns. Restart button on game over.

Check after:

  • Beetles follow the path exactly and never cut corners through grass.
  • Turrets can't be placed on the path or on top of each other.
  • Coins rise on each defeat; lives drop when a beetle reaches the stump.

If it breaks:

  • *Beetles leave the path:* "Move enemies from waypoint to waypoint in a straight line at constant speed; when within 2 px of a waypoint, snap to it and target the next one. Don't change anything else."
  • *Towers placed on the path:* "Mark path tiles as unbuildable using a grid; highlight buildable tiles on hover in green and unbuildable in red."
A cozy farm in 8 prompts · Step 1 of 8 (recipe-step)
Make a cozy farming game with a 6x4 grid of soil plots. Tap a plot to cycle: till, plant, water. Seeds: Turnip (2 coins, 2 days), Carrot (5, 3 days), Pumpkin (12, 5 days), chosen from a seed bar. A Sleep button advances the day. Watered plots grow one stage per day (3 visible stages); unwatered plots don't grow. Tap a ripe plant to harvest into a basket. Start with 20 coins. Show coins and day.

Check: crops only grow when watered; watering resets each morning.

Checklist · Core loop (checklist)
  • [ ] I can describe the game in one sentence: the player does X to achieve Y while avoiding Z.
  • [ ] The main action is fun on its own for 30 seconds, before any upgrades or levels.
  • [ ] Every action gives an immediate visible result.
  • [ ] There's a reason to do the action again (score, progress, story, collection).
  • [ ] The game has a clear end state for a session (game over, level complete, day end) or a natural stopping point for idle/cozy games.
  • [ ] I removed features that don't support the core loop.
Fix prompt: "Remove [feature]. It doesn't support the core loop. Don't change anything else."
Checklist · Mobile and touch (checklist)
  • [ ] The game works with touch only, without hover.
  • [ ] Touch targets are at least 48-64 px, with space between them.
  • [ ] Multi-touch works (move and jump at once).
  • [ ] The page doesn't scroll, zoom or pull-to-refresh during play.
  • [ ] The game fits portrait and landscape, or clearly asks to rotate.
  • [ ] HUD stays clear of notches and rounded corners.
  • [ ] Audio starts after the first tap.

Works well with

Propwren Creator Asset Pack848 upload-ready images + 168 game audio files from our own packs, licensed for AI game makers. $19 once.Shipfern Web Game Starter KitTurn a prototype into a game you own: HTML5 template with levels, daily challenge, share cards, PWA, Stripe unlock, portal adapters. $49 once.Game asset packsTilesets, monsters, icons, VFX, UI, shaders, 3D and textures with live demos and free samplers.

FAQ

What is an AI game maker?

An AI game maker is a tool that turns a text description, and sometimes uploaded images, into a playable game, often in the browser. General chat assistants can do something similar when you ask them to write a game as a single HTML file.

Do these prompts work in Google Labs Playground?

They are written for AI game makers such as Google Labs Playground and for general LLM chat assistants, in plain language those tools generally understand. We have not tested them inside Playground. We did test one prompt per genre with a general-purpose AI chat model (one try each, single HTML file): 15 of 16 gave a game that started and responded to input on the first generation; see How we tested. Every tool behaves a little differently, so expect to adjust wording and use the follow-up recipes. This library is independent and not affiliated with or endorsed by Google.

Which other tools can I use them with?

Any AI tool that can generate games from text, including general chat assistants that write HTML and JavaScript. For chat assistants, add 'in one self-contained HTML file' to the prompt, save the result as an .html file and open it in your browser.

Are the prompts free to use?

Yes. Use them, modify them and build games with them, including games you share. Please don't republish the library itself as a collection on another site or in a product.

Can I sell or monetise games I make with these prompts?

Our prompts don't restrict that, but the AI tool you use has its own terms about ownership and commercial use of what it generates. Read those terms, and make sure you have the rights to any images, music or text you add.

Why did my game come out differently from the description?

AI generation varies from run to run and between tools. Use the follow-up tweaks and recipes to adjust one thing at a time, and include 'don't change anything else' in each follow-up.

How do I fix a game that doesn't work?

Describe exactly what you did, what you expected and what happened, and paste any error from the browser console. The bug-fix recipes cover the most common problems, such as falling through floors or running too fast on some screens.

Are the games suitable for kids?

The prompts avoid graphic violence and adult themes, and the educational section is written for children's learning. You are still responsible for checking what your tool generates, including any facts or text, before sharing it with children.

Can I upload my own drawings or photos?

Many AI game makers support image uploads. Use images you created or have permission to use, prepare them as transparent PNGs with one subject each, and check the tool's terms about uploaded content.

What's in the Pro pack?

The Pro pack adds 30 fill-in-the-blank master templates with worked examples, 12 step-by-step build recipes with checks and fix prompts after each step, a 40-prompt bug-fix guide organised by symptom, 20 art-direction briefs with image preparation advice, and a full design and launch checklist. It's sold separately; this free library stays free.

Who made this library?

CyberMax, an independent publisher of tools and guides. All prompts and guides are original writing.

Will you add more prompts?

We plan to update the library over time; the version number and date at the top of the data show the latest update.

CyberMax is not affiliated with Google. Playground is an experiment by Google Labs; names are trademarks of their owners. Free to use: copy and adapt these prompts for your own games; please don't republish the library as a collection.

Browse prompts