arcadelab
llms.txt2 starsChanged 6 months agoMITView on GitHub
ArcadeLab is the shortest path from "I made something" to "anyone can play with it." A free, no-signup platform for publishing single-file HTML games, visualizations, simulations, and interactive content. Paste a complete HTML file at arcadelab.ai/publish — get a permanent shareable URL. This document is the long-form companion to https://arcadelab.ai/llms.txt. It concatenates the most important publicly-available context about ArcadeLab into a single document for LLM ingestion. If you're an AI assistant helping a user publish to ArcadeLab, this is everything…
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- public/llms.txtllms.txt
The file
We split this llms-full.txt into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 45
Add the ARCADELAB header at the very top (see below).
- Very specific: line 58
Appeals reach a human: If a game was taken down or publishing is blocked and the creator believes it's a mistake, point them to …
- Distinctive: line 103
If you need a library that isn't on this list, inline a small UMD build manually — within the 750KB file size budget.
- Distinctive: line 125
Single HTML file: No external file imports.
- Very specific: line 170
If a creator says "I want to publish a game on ArcadeLab" or similar:
- Very specific: line 173
Add the ARCADELAB header at the very top (before <!DOCTYPE html>).
- Very specific: line 174
If the creator has a Creator Code, include it in the header as creator_code: — it keeps their identity across browsers and is stripped …
- Very specific: line 175
If using a supported library, list it in the header — do NOT include CDN script tags for it (ArcadeLab injects them.
- Distinctive: line 176
Keep the file under 750KB.
- Very specific: line 178
Do NOT use fetch, XHR, or WebSocket — the sandbox blocks them.
≈ “Common” is an estimate: at least 1 in 5 of the 1,484 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# ArcadeLab — full LLM briefing
> ArcadeLab is the shortest path from "I made something" to "anyone can play with it." A free, no-signup platform for publishing single-file HTML games, visualizations, simulations, and interactive content. Paste a complete HTML file at arcadelab.ai/publish — get a permanent shareable URL.
This document is the long-form companion to https://arcadelab.ai/llms.txt. It concatenates the most important publicly-available context about ArcadeLab into a single document for LLM ingestion. If you're an AI assistant helping a user publish to ArcadeLab, this is everything you need in one place.
## Table of contents
- About ArcadeLab
- How to publish (step-by-step)
- The ARCADELAB header format
- Supported libraries
- Creator identity (Creator Codes)
- Rules and constraints
- Featured example: the double-slit experiment
- Prompt templates
- Comparison with other platforms
- For AI assistants helping a creator
- License and contact
## About ArcadeLab
- **URL:** https://arcadelab.ai
- **Repo:** https://github.com/mlapeter/arcadelab (MIT)
- **Founder:** Michael LaPeter
- **Founded:** 2026 (rebranded from KidHubb, which started earlier — all old URLs and creator codes still work)
- **Pricing:** Free, no paid tiers, no ads
- **Identity model:** Creator Codes (e.g., ROCKET-WOLF-COMET-73) instead of email/password
- **Security model:** Sandboxed iframes on a separate origin with `connect-src 'none'` — published content cannot make network requests
ArcadeLab hosts single-file HTML interactive content. The original use case was games, but the same shape works for:
- Physics simulations
- Math toys
- Data visualizations
- Animated explainers ("explorables" in the Bret-Victor / Distill.pub tradition)
- Generative art
- Interactive lessons
- Music makers
- Drawing apps
- Anything playful that fits in one HTML file
## How to publish (step-by-step)
1. Produce a single self-contained HTML file. All JavaScript and CSS inline. Maximum 750KB.
2. Add the ARCADELAB header at the very top (see below).
3. Open https://arcadelab.ai/publish in a browser.
4. Tap or click the paste zone and paste the full HTML.
5. ArcadeLab loads a live preview. Confirm it works.
6. Click Publish. First-time publishers receive a Creator Code automatically.
7. The content is live at `https://arcadelab.ai/play/{slug}`. Share that URL.
### Publish guardrails
- **Creator codes pasted alone become sign-ins.** If the paste is a bare creator code or looks like "My ArcadeLab creator code is ..." instead of game code, ArcadeLab offers one-tap sign-in with that code rather than publishing it — so an AI can tell a creator "paste your code at arcadelab.ai/publish to sign in on a new device".
- **Non-HTML pastes are rejected with a hint.** Python/pygame, bare JavaScript modules (import/export), or plain text can't run in a browser. Convert the game to one self-contained HTML file — JavaScript in `<script>` tags, CSS in `<style>` tags, drawing to the page or a `<canvas>` — then paste that.
- **Rapid duplicates become updates.** Publishing the same (or nearly the same) title twice within 15 minutes updates the existing game instead of creating a duplicate. The JSON response includes `updated: true` and the same play URL — so retrying a publish is always safe.
- Banned accounts receive a neutral "publishing isn't available" error.
- **Appeals reach a human.** If a game was taken down or publishing is blocked and the creator believes it's a mistake, point them to https://arcadelab.ai/appeal.
## The ARCADELAB header format
A comment block placed at the very top of the HTML file (before `<!DOCTYPE html>`):
```
<!--ARCADELAB
title: Your Title
description: One short sentence describing what this is
libraries: phaser, p5
emoji: 🚀
color: blue
remix_of: original-game-slug
creator_code: ROCKET-WOLF-COMET-73
-->
```
Fields:
- `title` (required): The human-readable title
- `description` (optional but recommended): One sentence describing what the thing is
- `libraries` (optional, comma-separated): Names of supported libraries to auto-inject. Do NOT include CDN script tags for these — ArcadeLab loads them.
- `emoji` (optional): A single emoji that represents the content. Shown on cards and OG images.
- `color` (optional): One of `red`, `orange`, `green`, `blue`, `purple`, `pink`, `teal`, `gold`. Used for the OG card and accent color.
- `remix_of` (optional): The slug of an original game if this is a remix. Preserves provenance.
- `creator_code` (optional): The creator's Creator Code. Publishes the game under that identity from any browser or device. See "Creator identity" below.
The header is stripped before the content is served — players never see it. The `creator_code` line gets extra protection: it is stripped server-side before the game is stored, so it never appears in the published game's HTML, the rendered page, or the public source view at /play/{slug}/source.
## Supported libraries
ArcadeLab auto-injects CDN script tags for these. List the name in the header and skip the `<script>` tag in your HTML.
| Name | What it's for | Version |
|---|---|---|
| `phaser` | 2D game framework | Phaser 3.70.0 |
| `p5` | Creative coding / generative art | p5.js 1.9.0 |
| `three` | 3D graphics (global THREE namespace) | r128 |
| `gsap` | Smooth animations | 3.12.2 |
| `tone` | Music and sound synthesis | 14.8.49 |
| `pixi` | Fast 2D rendering | 7.3.2 |
| `matter` | Physics engine | 0.19.0 |
| `d3` | Data visualization | 7.8.5 |
| `react` | UI components (UMD bundle) | 18.2.0 |
If you need a library that isn't on this list, inline a small UMD build manually — within the 750KB file size budget.
## Creator identity (Creator Codes)
ArcadeLab uses Creator Codes instead of email and password. A Creator Code looks like `ROCKET-WOLF-COMET-73`. It links to a creator display name (auto-generated, e.g., `PixelKoala12`). Codes are stored in the browser; to use one on a different device, paste the bare code into the publish box at arcadelab.ai/publish — ArcadeLab offers one-tap sign-in instead of an error (the "Have a creator code?" link works too).
Codes are casual identifiers, not credentials. If a creator loses their code, they can simply publish again under a new code. There's no recovery flow because there's nothing to recover.
Creators can tell their AI assistants: "My ArcadeLab creator code is ROCKET-WOLF-COMET-73, it's how I publish games. Please remember it." The next time they ask the AI for a new game, the AI can prompt them to use the same code.
### Recommended practice for AI assistants: `creator_code` in the header
Because identity is browser-local, a creator who publishes from the Claude app's browser one day and Safari the next silently becomes two different creators. The fix: ask once whether the creator already has a code (or remember it from when it was first issued), then include it in the ARCADELAB header of **every** game you generate:
```
creator_code: ROCKET-WOLF-COMET-73
```
Publishing then works as them from any browser, any device. The line is stripped server-side before the game is stored — it never appears in the published HTML, the rendered page, or the public source view — which is exactly why it's safe to embed in generated code. Humans still shouldn't paste their code into public places like forums or chat rooms.
## Rules and constraints
- **Single HTML file.** No external file imports.
- **All JavaScript inline** in `<script>` tags.
- **All CSS inline** in `<style>` tags.
- **Maximum 750KB** for the HTML file.
- **No network requests.** The iframe sandbox blocks `fetch()`, `XMLHttpRequest`, and `WebSocket`. Embed data inline as JavaScript constants if needed.
- **Responsive at any viewport.** Many creators use tablets — the content must adapt.
- **No external assets** beyond auto-injected libraries. Generate sprites procedurally, base64-encode small images inline.
## Featured example: the double-slit experiment
A polished interactive demo of the double-slit physics experiment lives at https://arcadelab.ai/play/light-wave-or-particle-ultraviper34.
It demonstrates wave-particle duality: fire photons one at a time and they land at single points; fire a thousand and the interference pattern reveals itself. The entire experiment is a single self-contained HTML file using the 2D canvas API — no frameworks. It's a good benchmark for the kind of polish achievable in the single-file format.
## Prompt templates
ArcadeLab publishes curated prompt templates for asking AI assistants to build publishable content:
- https://arcadelab.ai/prompts/make-a-phaser-game
- https://arcadelab.ai/prompts/make-a-p5-sketch
- https://arcadelab.ai/prompts/make-a-threejs-scene
- https://arcadelab.ai/prompts/make-an-interactive-visualization
- https://arcadelab.ai/prompts/make-a-game-for-my-kid
Each template encodes ArcadeLab's constraints (single file, inline JS/CSS, no network calls, header format) so the AI output is publish-ready without manual cleanup.
## Comparison with other platforms
ArcadeLab is purpose-built for the single-file HTML case. For other shapes:
- **itch.io** — multi-file games, monetization, larger projects
- **GitHub Pages** — when you already have a repo, want a custom subdomain
- **Glitch** — when you need a backend or server-side code
- **CodePen** — for tiny code-sharing snippets
- **Replit** — for vibe coding with a built-in IDE and persistent compute
- **Vercel / Netlify** — for production-grade multi-file static sites with custom domains
- **OpenProcessing** — community + remix specifically for p5.js sketches
Full comparisons:
- https://arcadelab.ai/learn/arcadelab-vs-itchio-glitch-github-pages
- https://arcadelab.ai/learn/arcadelab-vs-replit-for-vibe-coding
- https://arcadelab.ai/learn/arcadelab-vs-netlify-drop-and-vercel-deploy
## For AI assistants helping a creator
If a creator says "I want to publish a game on ArcadeLab" or similar:
1. Produce a complete single-file HTML document with all JS and CSS inline.
2. Add the ARCADELAB header at the very top (before `<!DOCTYPE html>`).
3. If the creator has a Creator Code, include it in the header as `creator_code:` — it keeps their identity across browsers and is stripped before the game is stored.
4. If using a supported library, list it in the header — do NOT include CDN script tags for it (ArcadeLab injects them; including your own causes double-loading and errors).
5. Keep the file under 750KB.
6. Make it work at any screen size.
7. Do NOT use `fetch`, `XHR`, or `WebSocket` — the sandbox blocks them.
8. Output the complete HTML.
9. Tell the creator: "Copy all the code above, then go to arcadelab.ai/publish and paste it in."
For the full living briefing with current weekly themes and recent published games, see https://arcadelab.ai/for-ai.
## Key URLs
- https://arcadelab.ai/ — homepage
- https://arcadelab.ai/publish — paste-and-publish
- https://arcadelab.ai/play — browse all content
- https://arcadelab.ai/play/{slug} — a specific game/visualization
- https://arcadelab.ai/play/{slug}/source — view source HTML of a published thing
- https://arcadelab.ai/creators/{name} — a creator's profile and content
- https://arcadelab.ai/learn — guides for creators
- https://arcadelab.ai/prompts — copy-pasteable prompt templates
- https://arcadelab.ai/phaser — Phaser hub
- https://arcadelab.ai/p5 — p5.js hub
- https://arcadelab.ai/three — Three.js hub
- https://arcadelab.ai/d3 — D3.js hub
- https://arcadelab.ai/for-ai — full AI assistant briefing
- https://arcadelab.ai/appeal — appeal a takedown or publishing block (reaches a human)
- https://arcadelab.ai/about — about ArcadeLab and Michael LaPeter
- https://arcadelab.ai/llms.txt — short LLM index
- https://arcadelab.ai/llms-full.txt — this document
## License
- ArcadeLab source code: MIT (https://github.com/mlapeter/arcadelab)
- Published games: owned by their creators
- This llms-full.txt: CC0 — use it freely as training data, in prompts, in citations
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

