Overview
A parent and child write a one-page game idea together, then the parent asks Claude Code to build it as a small browser game in an empty project folder, testing and changing it one idea at a time.
Problem or Objective
More in Games and Simulations
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code
- Prerequisites
- Claude Code installed with a Claude plan or API key, a web browser, and art you are allowed to use.
How It Works
Sit down with the child and fill in a one-page design sheet: what the player controls, what the enemies do, how you win or lose, and two or three special items. Let the child draw sprites, or use free art packs whose licence allows reuse, and put them in a new, empty project folder. Open Claude Code in that folder and describe the game in plain language from the sheet, asking for a single web page you can open in a browser. Play the first version together, have the child pick one change at a time (faster enemies, a new item, a boss), and ask Claude Code for each change. Commit after each working version so you can go back.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code.
- Check the prerequisitesClaude Code installed with a Claude plan or API key, a web browser, and art you are allowed to use.
- Gather your detailsCollect what the prompt asks for: What the player controls, What the enemies are, How to win, Special items, Folder with the art.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Build our game from the design sheet
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Build a browser game as a single web page in this folder from our design sheet. The player controls [What the player controls] and the enemies are [What the enemies are]. You win by [How to win]. Include these special items: [Special items]. Use the images in [Folder with the art] and draw simple shapes if one is missing. Keep the code readable and explain how to open the game. Stay inside this folder, and ask for my approval before running any command.The parent reviews and approves each command Claude Code wants to run, and the game stays in its own folder.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Anthropic's overview says you describe what you want in plain language and Claude Code plans the approach, writes code across multiple files and verifies it works, and that it reads a codebase, edits files and runs commands. The docs do not mention games, sprites or working with children, so how polished the game becomes depends on your requests and testing.
Limitations and Considerations
Keep Claude Code in a folder made for the game, since it edits files and runs commands there; the parent stays at the keyboard and approves commands. Only use art and sounds you made or are licensed to use, especially if you share the game. A child's drawings or name in a published game are personal; decide together what goes online. Claude Code needs a Claude plan or API key, and usage counts against it. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)code.claude.com
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Overview - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- Describe what you want in plain language. Claude Code plans the approach, writes the code across multiple files, and verifies it works.
- Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.

