SIGNAL · /LOG-020 · Web Development

How to Make a Game with Claude (No Coding Needed) — Play One We Built

Learn how to make a game with Claude without coding: play our pixel fishing game, build your first prompt, then iterate, polish and share it.
  • Claude AI
  • AI Game Development
  • No-Code
  • Interactive Content
  • Web Products
/LOG-020 · Web Development 09 Nov 2026
How to Make a Game with Claude (No Coding Needed) — Play One We Built — cover

Quick Answer: To make a game with Claude, describe the game in one clear prompt (genre, controls, look, rules, "single HTML file"), let Claude build it as an artifact on claude.ai, play it, then ask for fixes and features one at a time. When it feels right, publish it and share the link. No coding needed. For bigger projects with many files, use Claude Code instead. Try the game we built below, then use the prompt builder further down to write your own.

Open the game full screen · Cast with a tap, click or Space, wait for the big dip, then tap again when the marker is in the green zone.

What you can build with Claude today

Claude can write a complete small game in HTML, CSS and JavaScript and show it to you straight away. On claude.ai, this happens through artifacts. Anthropic's help centre describes an artifact as "anything Claude makes for you that you'd put in front of someone", including single-page websites and small interactive tools, and it names games among the things people make with them (Claude Help Centre). It opens next to your chat, so you can play, describe what's wrong and get a new version in one window.

Current facts worth knowing:

  • Plans: creating artifacts in chat is available on Free, Pro, Max, Team and Enterprise. Artifacts need the "Cloud code execution and file creation" setting turned on under Settings > Capabilities (source).

  • Sharing: on Free, Pro and Max you can publish an artifact, and anyone with the link can view and play it without signing up. Team and Enterprise artifacts are shared inside the organisation only. After publishing, there is also a "Get embed code" option for putting it on your own site (source).

  • Saving data: artifacts on paid plans can store data, for example a shared game leaderboard, with a limit of 20 MB of text per artifact (source).

  • Scale: Anthropic says users have created more than half a billion artifacts since the feature launched (Anthropic).

For anything larger, such as a game with many files, a build step, or code you want to keep in a Git repository, there is Claude Code. Anthropic describes it as a coding tool that "reads your codebase, edits files, runs commands", available in the terminal, IDEs, a desktop app and the browser (Claude Code docs).

Which Claude tool for which game

OptionBest forSkill neededHow you share itWatch out for
Claude chat + artifacts (claude.ai)One-screen games: arcade, quiz, puzzle, clicker, fishingNone. You describe and testPublish a link, or embed (Free, Pro, Max); share inside your org (Team, Enterprise)Very long single files get harder to change safely
Claude CodeBigger games, several files, your own hosting, version controlBasic comfort with files and foldersHost the files anywhere, like any websiteMost setups need a Claude subscription or Console account; the desktop app needs a paid plan
Game engine (e.g. Godot, Unity) with Claude as a helper3D, physics-heavy or app-store gamesLearning the engineEngine exports (web, desktop, mobile)Claude can explain and write scripts, but you do the editor work

For most people, the first row is the right start.

Step by step: from idea to a game you can share

1. Pick a small idea

Choose one core action you can explain in a sentence, such as "cast and hook fish" or "answer before the timer runs out". A 60-second round is easier to build and test than an open world.

2. Write the first prompt

The first prompt does most of the work. Ask for a single HTML file, list the controls and screens, and add a short test checklist so Claude checks its own work. The builder below writes one for you: pick your options, type your idea and copy the result into Claude.

Open the prompt builder full screen

Here is the spec we gave Claude for Pixel Fisher, lightly edited for readability:

Prompt: "Build a complete, self-contained, polished, playable browser mini-game as a single HTML file: no external requests at all, inline CSS and JavaScript, system fonts. It's a pixel-art fishing game called Pixel Fisher. Cast with tap, click or Space, then use a timing bar to hook the fish. Include different fish types worth different points, 60-second rounds, a score and a best score (saved in localStorage inside try/catch). Sound is off by default. It must work with mouse, touch and keyboard, and be responsive: fit an embed about 100% wide by 560px tall and work on phones. Add a small footer 'Made with Claude · BSA Digital'. Then test it: load it, simulate a few clicks, check there are no console errors, take a screenshot and check it looks good. Fix any issues."

We built Pixel Fisher with Claude Code, because we wanted the file in our own website repository and tested in a headless browser. The same prompt works in a claude.ai chat, where the game appears as an artifact you can play straight away.

3. Play it and iterate, one change at a time

Play the first version for a few minutes and write down what feels wrong. Then ask for one fix per message, and say what you saw, not just "it's broken". Our own first version had three issues that came up in testing: one fish name was cut off on the start screen, the scene looked too small on phones, and after you clicked the sound button, the Space key switched sound on and off instead of casting. Each one took a single short follow-up to fix. The builder's "Follow-ups" tab has ready-made prompts for common changes. Ask Claude to change only what you mention, so working features don't break.

4. Add polish

Polish is what makes people play a second round. Ask for clear feedback on every action, a start screen with one line of instructions, a "Play again" button and a best score. Touches like a "Perfect!" bonus cost one prompt each.

5. Publish and share

On claude.ai, open the artifact and click Publish to get a public link (Free, Pro and Max). If you want the game on your own website, use "Get embed code" and list your domain under allowed domains (source). Note that unpublishing is permanent for that artifact. Alternatively, download the HTML file and host it like any web page, which is what we did for Pixel Fisher.

Free · AI search Free AI-search visibility check Do ChatGPT, Gemini and Google's AI Overviews mention your brand? We'll look and tell you what to fix. Request a free check

Common mistakes

  • Asking for too much at once. "Make me an RPG with crafting and multiplayer" gives you a shaky demo. Start with one mechanic and grow it.

  • Vague bug reports. Say what you did, what happened and what you expected.

  • Not testing on a phone. Check touch controls and that nothing is cut off.

  • Using images or sounds you don't own. Ask Claude to draw everything in code and generate sounds with the Web Audio API, as in Pixel Fisher. That also keeps the game to one file.

What businesses can use mini-games for

A small browser game gets people to spend two minutes with your brand. Uses that make sense for SMEs:

  • Lead magnets: a quiz or challenge with an optional "email me my result" step, with consent handled properly under GDPR.

  • Event booths: a tablet game with a daily leaderboard draws people to a stand and starts conversations.

  • Education and schools: vocabulary games, revision quizzes and open-day activities that pupils and parents can play at home. These fit well alongside a learning platform; see our comparison of custom vs off-the-shelf LMS.

  • Gamified quizzes: "Which product suits you?" flows that feel like a game but end with a clear recommendation.

Once a game collects data, sits on your main domain or needs to match your brand and tracking setup, it becomes a small web product. Then planning, hosting and analytics matter more than the code. Our article on what a business website costs covers similar trade-offs.

What we see at BSA

Building this post's game and prompt builder was a useful reality check. The coding was the fast part. What took judgement was deciding the rules, testing on real screen sizes and fixing the small things that make a game feel right. We see the same with clients: AI makes the first version much quicker, but someone still has to define the goal, test properly and handle privacy, hosting and analytics. For internal fun or a one-off campaign, a published artifact is often enough. For anything tied to lead generation or a school or brand site, we plan it like any other web product, with tracking and consent built in from the start. You can see the range of what we do on our services page.

Common questions

Can you make a game with Claude for free?

Yes. Creating artifacts in chat is available on the Free plan, and Free users can also publish an artifact so anyone with the link can play it. Some extras, such as storing data in an artifact, need a paid plan.

Do I need to know how to code to make a game with Claude?

No. You describe the game in plain language, play the result and ask for changes. Knowing a little about how games work, such as rounds, scoring and difficulty, helps you write better prompts.

Should I use Claude chat or Claude Code to make a game?

Use chat with artifacts for small, single-screen games you want to play and share quickly. Use Claude Code when the game grows into several files, needs its own hosting or should live in a code repository.

Can I put a game made with Claude on my website?

Yes. You can publish the artifact and use the embed code with your domain on the allowed list, or download the HTML file and host it yourself. If the game collects any personal data, add a privacy notice and consent step.

Want a branded mini-game, quiz or interactive tool for your school, event or campaign, built properly with tracking and consent? Get in touch with BSA Digital and tell us your idea.

Sources

Free · AI search Free AI-search visibility check Find out whether ChatGPT, Gemini, Perplexity and Google's AI Overviews recommend your brand — and what would change that. Request a free check