Skip to main content

How to build a browser game from one sentence with Claude Code

Type /game and one sentence, and Claude Code builds a small game you can play in your browser.

It saves the whole game as one file. It opens on a phone or a laptop, works offline, and needs no app store or hosting to try.

A mini game is an easy thing to share with your audience. A catch game in your brand colours, a quiz for a launch, or a little challenge for a stream.

The trick is a skill. A skill is a short text file of instructions that Claude Code follows every time you type its name.

Here is the game this guide builds, from one sentence, running in a real browser.

How to build a browser game from one sentence with Claude CodeHow to build a browser game from one sentence with Claude Code image 2How to build a browser game from one sentence with Claude Code image 3

Keep reading with Pro

Every Pro guide, new ones added regularly. Cancel anytime.

Become a Pro member