The setup for making your own game without writing code, the OpenGame steps, and the full path to YouTube Playables: convert, check, test, apply, publish.
Ready games that Claude, or another coding agent, can change into your own. The code is free; image, music and voice generation can cost extra.
nexu-io/opengameGames people play inside YouTube. Anyone can build one and apply with a form; YouTube chooses who gets in.
developers.google.comBuild a game, check it's really yours, get it ready for Playables, and set up OpenGame safely.
Go to the prompts ↓No OpenGame. Open Claude Code in an empty folder and paste prompt 1. Expect a few rounds of "change this", not one perfect prompt.
For people comfortable with a terminal. You need Git, npm and Node.js 22.18 or newer. These follow OpenGame's guide, and I ran the install and build this way:
--ignore-scripts stops the packages from running their own install code. Without Git LFS, some template art stays missing.
Open Claude Code inside that folder and paste prompt 4. Claude reads OpenGame's own guide and asks you before each command. You'll see an offer for paid plans when the studio opens: you can close it.
I want to make a small web game. I don't code, so you write everything. My idea, in one line: [what the player does, and how they win or lose] First ask me these, one at a time, and wait for my answer: 1. What is the one thing the player does again and again? 2. What makes a round end, and what makes it fun to try again? 3. Where is it set, and how should it look and sound? Something from my own life is best. 4. Phone, computer or both? 5. Which existing games is it close to? Name them, and say what mine does differently. Then make version 1 as plain HTML, CSS and JavaScript with an index.html in the main folder: - One screen, one mechanic, and a round under a minute. - Works with touch and mouse, in portrait and landscape. - Drawn in code. No downloaded art, fonts or music, and no outside links. - A short sound for each action, and silence when the sound is off. Open it, play it yourself if you can, and tell me what you could not test. Then give me the three changes that would make it more fun.
Check whether this game is really mine before I publish it. Game folder: [folder] What I started from: [my own idea, or the template's name] 1. List every part that came from the template or another game: the mechanic, the screens, the art, the sounds, the name. 2. Mark each one: changed, only re-skinned, or untouched. 3. Name well-known games it could be confused with, and say why. Say "not sure" where you can't tell. 4. Suggest three changes to how it PLAYS, not how it looks, that would make it its own game. 5. List every image, sound and font with where it came from and its licence. Mark anything unknown. Don't tell me it's fine to be nice. This is a first check, not legal advice.
Turn this web game into a YouTube Playable.
My game: [one line about the game]
Game folder: [path, or "this folder"]
It currently saves progress with: [localStorage / nothing / a server]
Read YouTube's current requirements first, and follow them over anything below:
https://developers.google.com/youtube/gaming/playables/certification/requirements
Work in a separate build so my normal web version keeps working. Write a build
script that outputs dist/playables/ (index.html at the top) and a zip of it.
1. SDK first
- Load <script src="https://www.youtube.com/game_api/v1"></script> before
any game code.
- Call ytgame.game.firstFrameReady() as soon as a loading screen is visible.
- Call ytgame.game.gameReady() only when the player can actually interact.
2. Saving
- Replace every other save method (localStorage, sessionStorage, IndexedDB,
cookies, my server) with ytgame.game.loadData() and saveData().
- Await loadData() before the game starts and before any saveData().
- Save after real progress and when the game is paused.
- Keep the save under 500 KiB, and make older or corrupt saves load without
crashing.
3. Pause and sound
- Pause everything on ytgame.system.onPause and resume only on onResume:
game loop, timers, music, animations and network calls.
- Do not use the Page Visibility API. If my code listens for
visibilitychange, drive it from onPause/onResume instead.
- Follow ytgame.system.isAudioEnabled() and onAudioEnabledChange(). No sound
when YouTube audio is off. Remove any master mute button from the game.
4. Everything stays inside the bundle
- YouTube serves the game with this Content-Security-Policy:
default-src 'none'; script-src 'report-sample' 'self' 'unsafe-eval' 'unsafe-inline' blob: https://www.youtube.com/game_api/v0 https://www.youtube.com/game_api/v0/ https://www.youtube.com/game_api/v1 https://www.youtube.com/game_api/v1/; object-src 'none'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; img-src 'self' blob: data:; media-src 'self' blob:; font-src 'self' data: https://fonts.googleapis.com https://fonts.gstatic.com; connect-src 'self' blob: data:; sandbox allow-pointer-lock allow-same-origin allow-scripts; base-uri 'self'; manifest-src 'self'; worker-src 'self' blob:
- So: remove analytics, ads scripts, logins, payments, online multiplayer and
any call to my own server. Bundle fonts and libraries locally.
- The sandbox has no forms, popups or top navigation. Remove form submits
and links to other sites.
- Use relative paths only. No path may start with "/".
5. Make the build fail loudly if it breaks a YouTube limit
- Loaded before gameReady: under 30 MiB (aim for under 15 MiB)
- Whole bundle: under 250 MiB
- Each file: under 30 MiB (aim for under 512 KiB)
- At most 8000 files
- File names: letters, numbers, "_", "-" and "." only
- No absolute paths and no external URLs except the YouTube SDK
6. Support touch and mouse.
7. Test it
- Write a small local server that serves dist/playables with the exact CSP
header above, and play a full session in the browser against it.
- Report: CSP violations, failed requests, any request that leaves the
bundle, MiB loaded before gameReady, and whether progress survives a
reload.
- Write a unit test with a fake ytgame object that checks the call order
(firstFrameReady → loadData → gameReady), no save before load, pause and
resume, and audio on/off.
Use the language from ytgame.system.getLanguage() if my game has translations.
Tell me plainly what you could not verify. Do not claim it passes certification.Read docs/opengame-setup.md in this folder, all of it, before you run anything. Then connect OpenGame to this agent on this computer only: - Keep install scripts off, and keep tracking and auto-update off (DO_NOT_TRACK=1, OPENMOTION_TELEMETRY=0, OPENMOTION_AUTO_UPDATE=0). - Keep its projects outside this folder. - Don't sign in, don't buy anything, and don't use the WeChat publishing part. - Tell me each command and wait for my yes before you run it. When it works, open Game Studio and list three simple templates that don't copy a famous game. I'll pick one to remix.
Paste prompt 3 into Claude Code, inside your game's folder. It makes a separate YouTube build, so your normal web version keeps working.
From YouTube's stability rules. That page also links a bundle analyzer that checks sizes and file names for you.
Play it on your own computer with YouTube's security header (part 7 of the prompt), then in YouTube's SDK Test Suite. Once you have portal access, test on desktop web, mobile web, and the YouTube app on Android and iOS.
Fill YouTube's Playables interest form. Anyone can build a Playable-ready game and apply. YouTube chooses who gets in. The form takes finished or playable games, not ideas, and you confirm you own all the rights. YouTube says it may not answer every submission. Have ready:
The Developer Portal is by invitation, and you need manager permission on the YouTube channel. Then:
Only YouTube's own ads are allowed, and they don't show to everyone. YouTube gives no typical earnings. The ₹13 lakh in my reel is publisher Playgama's figure for its best game in its first month (about $15,000, Defold interview, Sept 2026). It isn't a normal result, and it wasn't made with OpenGame.