6 min read
Build and ZIP export
Create a self-contained archive that passes inspection.
Archive layout
- 1.Put index.html at the ZIP root, not in a nested directory.
- 2.Optional scoring configuration must use the exact root filename d3-game.config.json.
- 3.Use portable relative paths; never use localhost or drive paths.
- 4.Remove source maps, editor caches, development files, and secrets.
my-game.zip
├── index.html
├── d3-game.config.json # optional, maximum 256 KB
├── game.js
├── styles.css
└── assets/Portable scoring configuration
A root d3-game.config.json is parsed as data and imported only as a Draft. The portal validates its game slug, metrics, rankings, seasons, capabilities, and scoring version, then shows JSON-path errors and a diff from the published configuration.
Upload never publishes configuration. Review the diff, validate, and publish explicitly. Duplicate JSON keys, secrets, API overrides, unsafe keys, nested copies, and ambiguous filenames are rejected.
After upload
The portal checks archive safety, entry point, file limits, viewport, SDK detection, versioned static security rules, external origins, and then runs an asynchronous malware scan. Submission unlocks only after a CLEAN result.
Declare a clear purpose for every detected third-party origin. Reviewers disposition findings and explicitly approve origins; the release CSP permits only that allowlist.