Share URLs
The source is gzip-compressed and base64url-encoded into the URL.
Shared play pages show only the game and its controls. Source pages show only the code. Neither includes the site header, footer, URL field or creation prompt.
Source
One file: const game plus helpers. GameLib is provided. Do not call GameLib.run or include the engine. No imports, network, storage or DOM access.
Limits
| Target | Max |
|---|---|
| Source | 65,536 bytes |
| After gzip | 3,000 bytes |
| Encoded | 4,000 characters |
Not encrypted: anyone with the URL can read the source.
Runtime
Runs in a sandboxed Worker. A game that blocks for 5 seconds is stopped.